public class TEXFilter extends AbstractFilter
| Modifier and Type | Field and Description |
|---|---|
static String |
TEX_MIME_TYPE |
SUB_FILTER| Constructor and Description |
|---|
TEXFilter() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the input document.
|
IFilterWriter |
createFilterWriter()
Creates a new IFilterWriter object from the most appropriate class to
use with this filter.
|
EncoderManager |
getEncoderManager()
Gets the EncoderManager object for this filter.
|
IParameters |
getParameters()
Gets the current parameters for this filter.
|
boolean |
hasNext()
Indicates if there is an event to process.
|
protected boolean |
isUtf8Bom()
Does the input have a UTF-8 Byte Order Mark?
|
protected boolean |
isUtf8Encoding()
Is the input encoded as UTF-8?
|
Event |
next()
Gets the next event available.
|
void |
open(RawDocument input)
Opens the input document described in a give RawDocument object.
|
void |
open(RawDocument input,
boolean generateSkeleton)
Opens the input document described in a give RawDocument object, and
optionally creates skeleton information.
|
void |
setParameters(IParameters params)
Sets new parameters for this filter.
|
addConfiguration, addConfigurations, cancel, createEndFilterEvent, createSkeletonWriter, createStartFilterEvent, getConfiguration, getConfigurations, getDisplayName, getDocumentId, getDocumentName, getEncoding, getFilterConfigurationMapper, getFilterWriter, getMimeType, getName, getNewlineType, getParentId, getSrcLoc, getTrgLoc, isCanceled, isGenerateSkeleton, isMultilingual, removeConfiguration, setDisplayName, setDocumentName, setEncoding, setFilterConfigurationMapper, setFilterWriter, setGenerateSkeleton, setMimeType, setMultilingual, setName, setNewlineType, setOptions, setParentId, setSrcLoc, setTrgLocclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemaining, removepublic static final String TEX_MIME_TYPE
protected boolean isUtf8Bom()
AbstractFilterisUtf8Bom in class AbstractFilterprotected boolean isUtf8Encoding()
AbstractFilterisUtf8Encoding in class AbstractFilterpublic void close()
IFilterclose in interface AutoCloseableclose in interface IFilterclose in class AbstractFilterpublic IParameters getParameters()
IFilterpublic boolean hasNext()
IFilterImplementer Note: The caller must be able to call this method several times without changing state.
public Event next()
IFilterpublic void open(RawDocument input)
IFilterinput - The RawDocument object to use to open the document.public void open(RawDocument input, boolean generateSkeleton)
IFilteropen in interface IFilteropen in class AbstractFilterinput - The RawDocument object to use to open the document.generateSkeleton - true to generate the skeleton data, false otherwise.public void setParameters(IParameters params)
IFilterparams - The new parameters to use.public EncoderManager getEncoderManager()
IFiltergetEncoderManager in interface IFiltergetEncoderManager in class AbstractFilterpublic IFilterWriter createFilterWriter()
IFiltercreateFilterWriter in interface IFiltercreateFilterWriter in class AbstractFilterCopyright © 2021. All rights reserved.