public class ArchiveContentTransformer extends TikaPoweredContentTransformer
| Modifier and Type | Field and Description |
|---|---|
static java.util.ArrayList |
SUPPORTED_MIMETYPES
We support all the archive mimetypes that the Tika
package parser can handle
|
LINE_BREAK, sourceMimeTypes, WRONG_FORMAT_MESSAGE_IDtransformerDebug| Constructor and Description |
|---|
ArchiveContentTransformer() |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.tika.parser.ParseContext |
buildParseContext(org.apache.tika.metadata.Metadata metadata,
java.lang.String targetMimeType,
TransformationOptions options)
By default returns a ParseContent that does not recurse
|
protected org.apache.tika.parser.Parser |
getParser()
Returns the correct Tika Parser to process
the document.
|
void |
setIncludeContents(java.lang.String includeContents) |
void |
setTikaConfig(org.apache.tika.config.TikaConfig tikaConfig)
Injects the TikaConfig to use
|
getContentHandler, isTransformableMimetype, transformInternalcheckTransformable, getTransformationTime, recordTime, register, setProperties, setRegistry, toString, transform, transform, transformgetBeanName, getLimits, getLimits, getLimits, getMaxPages, getMaxSourceSizeKBytes, getMaxSourceSizeKBytes, getMimetypeLimits, getPageLimit, getReadLimitKBytes, getReadLimitTimeMs, getTimeoutMs, isPageLimitSupported, isTransformable, isTransformable, isTransformableSize, setBeanName, setLimits, setMaxPages, setMaxSourceSizeKBytes, setMimetypeLimits, setPageLimit, setPageLimitsSuported, setReaderLimits, setReadLimitKBytes, setReadLimitTimeMs, setTimeoutMs, setTransformerDebuggetMimetype, getMimetypeService, isExplicitTransformation, isSupportedTransformation, setExplicitTransformations, setMimetypeService, setSupportedTransformationsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisExplicitTransformationpublic static java.util.ArrayList SUPPORTED_MIMETYPES
public void setTikaConfig(org.apache.tika.config.TikaConfig tikaConfig)
tikaConfig - The Tika Config to usepublic void setIncludeContents(java.lang.String includeContents)
protected org.apache.tika.parser.Parser getParser()
TikaPoweredContentTransformerTikaAutoContentTransformer which
makes use of the Tika auto-detection.getParser in class TikaPoweredContentTransformerprotected org.apache.tika.parser.ParseContext buildParseContext(org.apache.tika.metadata.Metadata metadata,
java.lang.String targetMimeType,
TransformationOptions options)
TikaPoweredContentTransformerbuildParseContext in class TikaPoweredContentTransformerCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.