@CreoleResource(name="Apache Tika Document Format", isPrivate=true, autoinstances=) public class TikaFormat extends DocumentFormat
element2StringMap, magic2mimeTypeMap, markupElementsMap, mimeString2ClassHandlerMap, mimeString2mimeTypeMap, suffixes2mimeTypeMapdataStore, lrPersistentIdname| Constructor and Description |
|---|
TikaFormat() |
| Modifier and Type | Method and Description |
|---|---|
Resource |
init()
Initialise this resource, and return it.
|
Boolean |
supportsRepositioning()
If the document format could collect repositioning information
during the unpack phase this method will return true.
|
void |
unpackMarkup(Document doc)
Unpack the markup in the document.
|
void |
unpackMarkup(Document doc,
RepositioningInfo repInfo,
RepositioningInfo ampCodingInfo) |
addStatusListener, areEqual, decideBetweenThreeMimeTypes, decideBetweenTwoMimeTypes, fireStatusChanged, getDocumentFormat, getDocumentFormat, getDocumentFormat, getDocumentFormat, getElement2StringMap, getFeatures, getMarkupElementsMap, getMimeType, getMimeTypeForString, getShouldCollectRepositioning, getSupportedFileSuffixes, getSupportedMimeTypes, guessTypeUsingMagicNumbers, removeStatusListener, runMagicNumbers, setElement2StringMap, setFeatures, setMarkupElementsMap, setMimeType, setShouldCollectRepositioning, unpackMarkup, willReadFromUrlcleanup, getDataStore, getLRPersistenceId, getParent, isModified, setDataStore, setLRPersistenceId, setParent, synccheckParameterValues, flushBeanInfoCache, forgetBeanInfo, getBeanInfo, getInitParameterValues, getInitParameterValues, getName, getParameterValue, getParameterValue, getParameterValues, removeResourceListeners, setName, setParameterValue, setParameterValue, setParameterValues, setParameterValues, setResourceListeners, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetParameterValue, setParameterValue, setParameterValuesgetName, setNamepublic Resource init() throws ResourceInstantiationException
AbstractResourceinit in interface Resourceinit in class AbstractResourceResourceInstantiationExceptionpublic Boolean supportsRepositioning()
DocumentFormatsupportsRepositioning in class DocumentFormatpublic void unpackMarkup(Document doc) throws DocumentFormatException
DocumentFormatunpackMarkup in class DocumentFormatDocumentFormatExceptionpublic void unpackMarkup(Document doc, RepositioningInfo repInfo, RepositioningInfo ampCodingInfo) throws DocumentFormatException
unpackMarkup in class DocumentFormatDocumentFormatExceptionCopyright © 2024 GATE. All rights reserved.