public class PreprocessingFilter extends Object implements IFilter
SUB_FILTER| Constructor and Description |
|---|
PreprocessingFilter(IFilter filter,
IPipelineStep... steps) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Cancels the current process.
|
void |
close()
Closes the input document.
|
IFilterWriter |
createFilterWriter()
Creates a new IFilterWriter object from the most appropriate class to
use with this filter.
|
ISkeletonWriter |
createSkeletonWriter()
Creates a new ISkeletonWriter object that corresponds to the type of skeleton
this filter uses.
|
List<FilterConfiguration> |
getConfigurations()
Gets the list of all predefined configurations for this filter.
|
String |
getDisplayName()
Gets the localizable display name of this filter.
|
EncoderManager |
getEncoderManager()
Gets the EncoderManager object for this filter.
|
protected IFilter |
getFilter() |
String |
getMimeType()
Gets the MIME type of the format supported by this filter.
|
String |
getName()
Gets the name/identifier of this filter.
|
IParameters |
getParameters()
Gets the current parameters for this filter.
|
protected List<IPipelineStep> |
getSteps() |
boolean |
hasNext()
Indicates if there is an event to process.
|
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.
|
protected void |
setFilter(IFilter filter) |
void |
setFilterConfigurationMapper(IFilterConfigurationMapper fcMapper)
Sets the filter configuration mapper for this filter.
|
void |
setParameters(IParameters params)
Sets new parameters for this filter.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemaining, removepublic PreprocessingFilter(IFilter filter, IPipelineStep... steps)
public String getName()
IFilterpublic String getDisplayName()
IFiltergetDisplayName in interface IFilterpublic void open(RawDocument input)
IFilterpublic void open(RawDocument input, boolean generateSkeleton)
IFilterpublic void close()
IFilterclose in interface AutoCloseableclose in interface IFilterpublic boolean hasNext()
IFilterImplementer Note: The caller must be able to call this method several times without changing state.
public Event next()
IFilterpublic void cancel()
IFilterpublic IParameters getParameters()
IFiltergetParameters in interface IFilterpublic void setParameters(IParameters params)
IFiltersetParameters in interface IFilterparams - The new parameters to use.public void setFilterConfigurationMapper(IFilterConfigurationMapper fcMapper)
IFiltersetFilterConfigurationMapper in interface IFilterfcMapper - the mapper to set.public ISkeletonWriter createSkeletonWriter()
IFiltercreateSkeletonWriter in interface IFilterpublic IFilterWriter createFilterWriter()
IFiltercreateFilterWriter in interface IFilterpublic EncoderManager getEncoderManager()
IFiltergetEncoderManager in interface IFilterpublic String getMimeType()
IFiltergetMimeType in interface IFilterpublic List<FilterConfiguration> getConfigurations()
IFiltergetConfigurations in interface IFilterprotected IFilter getFilter()
protected void setFilter(IFilter filter)
protected List<IPipelineStep> getSteps()
Copyright © 2021. All rights reserved.