@CreoleResource(name="GATE EMAIL Document Format", isPrivate=true, autoinstances=) public class EmailDocumentFormat extends TextualDocumentFormat
element2StringMap, magic2mimeTypeMap, markupElementsMap, mimeString2ClassHandlerMap, mimeString2mimeTypeMap, suffixes2mimeTypeMap
dataStore, lrPersistentId
name
Constructor and Description |
---|
EmailDocumentFormat()
Default construction
|
Modifier and Type | Method and Description |
---|---|
Resource |
init()
Initialise this resource, and return it.
|
void |
unpackMarkup(Document doc)
Unpack the markup in the document.
|
annotateParagraphs, getDataStore, hasContentButNoValidUrl, setNewLineProperty, unpackMarkup
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, supportsRepositioning, unpackMarkup
cleanup, 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
getLRPersistenceId, getParent, isModified, setDataStore, setLRPersistenceId, setParent, sync
cleanup, getParameterValue, setParameterValue, setParameterValues
getName, setName
public EmailDocumentFormat()
public void unpackMarkup(Document doc) throws DocumentFormatException
unpackMarkup
in class TextualDocumentFormat
doc
- The gate document you want to parse.DocumentFormatException
public Resource init() throws ResourceInstantiationException
init
in interface Resource
init
in class TextualDocumentFormat
ResourceInstantiationException