Modifier and Type | Field and Description |
---|---|
static int |
MODE_CSV |
SUB_FILTER
Constructor and Description |
---|
MultiParsersFilter() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
autoDetectColumnTypes(java.lang.String csvPath,
int autoDetectRowNum) |
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.
|
java.util.List<FilterConfiguration> |
getConfigurations()
Gets the list of all predefined configurations for this filter.
|
java.lang.String |
getDisplayName()
Gets the localizable display name of this filter.
|
EncoderManager |
getEncoderManager()
Gets the EncoderManager object for this filter.
|
java.lang.String |
getMimeType()
Gets the MIME type of the format supported by this filter.
|
java.lang.String |
getName()
Gets the name/identifier of this filter.
|
Parameters |
getParameters()
Gets the current parameters for this filter.
|
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 java.lang.String |
preProcessDataForMarkdown(java.lang.String data) |
void |
setFilterConfigurationMapper(IFilterConfigurationMapper fcMapper)
Sets the filter configuration mapper for this filter.
|
void |
setParameters(IParameters params)
Sets new parameters for this filter.
|
public static final int MODE_CSV
public java.lang.String getName()
IFilter
public java.lang.String getDisplayName()
IFilter
getDisplayName
in interface IFilter
public void open(RawDocument input)
IFilter
public void open(RawDocument input, boolean generateSkeleton)
IFilter
public void close()
IFilter
public boolean hasNext()
IFilter
Implementer Note: The caller must be able to call this method several times without changing state.
public Event next()
IFilter
protected java.lang.String preProcessDataForMarkdown(java.lang.String data)
public java.lang.String autoDetectColumnTypes(java.lang.String csvPath, int autoDetectRowNum)
public void cancel()
IFilter
public Parameters getParameters()
IFilter
getParameters
in interface IFilter
public void setParameters(IParameters params)
IFilter
setParameters
in interface IFilter
params
- The new parameters to use.public void setFilterConfigurationMapper(IFilterConfigurationMapper fcMapper)
IFilter
setFilterConfigurationMapper
in interface IFilter
fcMapper
- the mapper to set.public ISkeletonWriter createSkeletonWriter()
IFilter
createSkeletonWriter
in interface IFilter
public IFilterWriter createFilterWriter()
IFilter
createFilterWriter
in interface IFilter
public EncoderManager getEncoderManager()
IFilter
getEncoderManager
in interface IFilter
public java.lang.String getMimeType()
IFilter
getMimeType
in interface IFilter
public java.util.List<FilterConfiguration> getConfigurations()
IFilter
getConfigurations
in interface IFilter
Copyright © 2022. All rights reserved.