public interface IFilterWriter
extends java.lang.AutoCloseable
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Cancels the current process.
|
void |
close()
Closes the output.
|
EncoderManager |
getEncoderManager()
Gets the current encoder manager for this writer.
|
java.lang.String |
getName()
Gets the name of this writer.
|
IParameters |
getParameters()
Gets the current parameters for this writer.
|
ISkeletonWriter |
getSkeletonWriter()
Gets the skeleton writer associated with this writer.
|
Event |
handleEvent(Event event)
Handles the filter events.
|
void |
setOptions(LocaleId locale,
java.lang.String defaultEncoding)
Sets the options for this writer.
|
void |
setOutput(java.io.OutputStream output)
Sets the output through its output stream.
|
void |
setOutput(java.lang.String path)
Sets the output through the path of the output file.
|
void |
setParameters(IParameters params)
Sets new parameters for this writer.
|
java.lang.String getName()
void setOptions(LocaleId locale, java.lang.String defaultEncoding)
locale
- the output locale.defaultEncoding
- Name of the character set encoding for the output.void setOutput(java.lang.String path)
path
- Full path of the output file.void setOutput(java.io.OutputStream output)
output
- Output stream to use for the output.Event handleEvent(Event event)
event
- The event to process.void close()
close
in interface java.lang.AutoCloseable
IParameters getParameters()
void setParameters(IParameters params)
params
- The new parameters to use.void cancel()
EncoderManager getEncoderManager()
ISkeletonWriter getSkeletonWriter()
Copyright © 2022. All rights reserved.