public class TikaSpringConfiguredContentTransformer extends TikaPoweredContentTransformer
documentSelector, LINE_BREAK, sourceMimeTypes, WRONG_FORMAT_MESSAGE_ID
transformerDebug
transformerConfig
Constructor and Description |
---|
TikaSpringConfiguredContentTransformer() |
Modifier and Type | Method and Description |
---|---|
protected org.apache.tika.parser.Parser |
getParser()
Returns the Tika parser
|
void |
setTikaParser(org.apache.tika.parser.Parser tikaParser)
Injects the Tika parser to use
|
void |
setTikaParserName(String className)
Injects the name of the Tika parser to use
|
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 TikaSpringConfiguredContentTransformer()
public void setTikaParserName(String className)
className
- Stringpublic void setTikaParser(org.apache.tika.parser.Parser tikaParser)
tikaParser
- Parserprotected org.apache.tika.parser.Parser getParser()
getParser
in class TikaPoweredContentTransformer
Copyright © 2005–2017 Alfresco Software. All rights reserved.