@CreoleResource(name="Apache Tika Document Format", isPrivate=true, autoinstances=) public class TikaFormat extends DocumentFormat
element2StringMap, magic2mimeTypeMap, markupElementsMap, mimeString2ClassHandlerMap, mimeString2mimeTypeMap, suffixes2mimeTypeMap
dataStore, lrPersistentId
name
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, willReadFromUrl
cleanup, getDataStore, getLRPersistenceId, getParent, isModified, setDataStore, setLRPersistenceId, setParent, sync
checkParameterValues, flushBeanInfoCache, forgetBeanInfo, getBeanInfo, getInitParameterValues, getInitParameterValues, getName, getParameterValue, getParameterValue, getParameterValues, removeResourceListeners, setName, setParameterValue, setParameterValue, setParameterValues, setParameterValues, setResourceListeners, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getParameterValue, setParameterValue, setParameterValues
getName, setName
public Resource init() throws ResourceInstantiationException
AbstractResource
init
in interface Resource
init
in class AbstractResource
ResourceInstantiationException
public Boolean supportsRepositioning()
DocumentFormat
supportsRepositioning
in class DocumentFormat
public void unpackMarkup(Document doc) throws DocumentFormatException
DocumentFormat
unpackMarkup
in class DocumentFormat
DocumentFormatException
public void unpackMarkup(Document doc, RepositioningInfo repInfo, RepositioningInfo ampCodingInfo) throws DocumentFormatException
unpackMarkup
in class DocumentFormat
DocumentFormatException
Copyright © 2024 GATE. All rights reserved.