public class PoiContentTransformer extends TikaPoweredContentTransformer
PoiHssfContentTransformer
handles the Excel
transformations (mostly for compatibility), while
this does all the other Office file formats.Modifier and Type | Field and Description |
---|---|
static ArrayList<String> |
SUPPORTED_MIMETYPES
We support all the office mimetypes that the Tika
office parser can handle, except for excel
(handled by
PoiHssfContentTransformer |
documentSelector, LINE_BREAK, sourceMimeTypes, WRONG_FORMAT_MESSAGE_ID
transformerDebug
transformerConfig
Constructor and Description |
---|
PoiContentTransformer() |
Modifier and Type | Method and Description |
---|---|
protected org.apache.tika.parser.Parser |
getParser()
Returns the correct Tika Parser to process
the document.
|
buildParseContext, getComments, getContentHandler, getDocumentSelector, isTransformableMimetype, setDocumentSelector, transformInternal
checkTransformable, getExecutorService, getRetryTransformOnDifferentMimeType, getStrictMimeTypeCheck, getTransformationTime, getTransformationTime, isTransformationLimitedInternally, recordError, recordTime, recordTime, register, setAdditionalThreadTimout, setExecutorService, setMetadataExtracterConfig, setRegisterTransformer, setRegistry, setRetryTransformOnDifferentMimeType, setStrictMimeTypeCheck, setUseTimeoutThread, toString, transform, transform, transform
getLimits, getLimits, getLimits, getMaxPages, getMaxSourceSizeKBytes, getMaxSourceSizeKBytes, getPageLimit, getReadLimitKBytes, getReadLimitTimeMs, getTimeoutMs, isPageLimitSupported, isTransformable, isTransformable, isTransformableSize, setLimits, setMaxPages, setMaxSourceSizeKBytes, setMimetypeLimits, setPageLimit, setPageLimitsSupported, setReaderLimits, setReadLimitKBytes, setReadLimitTimeMs, setTimeoutMs, setTransformerDebug
deprecatedSetter, equals, getBeanName, getCommentsOnlySupports, getExtensionOrAny, getMimetype, getMimetypeService, getName, getSimpleName, hashCode, isExplicitTransformation, isSupportedTransformation, onlySupports, setBeanName, setExplicitTransformations, setMimetypeService, setSupportedTransformations, setTransformerConfig, setUnsupportedTransformations
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getName, isExplicitTransformation
public static ArrayList<String> SUPPORTED_MIMETYPES
PoiHssfContentTransformer
protected org.apache.tika.parser.Parser getParser()
TikaPoweredContentTransformer
TikaAutoContentTransformer
which
makes use of the Tika auto-detection.getParser
in class TikaPoweredContentTransformer
Copyright © 2005–2017 Alfresco Software. All rights reserved.