public interface IFilterWriter extends 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.
|
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,
String defaultEncoding)
Sets the options for this writer.
|
void |
setOutput(OutputStream output)
Sets the output through its output stream.
|
void |
setOutput(String path)
Sets the output through the path of the output file.
|
void |
setParameters(IParameters params)
Sets new parameters for this writer.
|
String getName()
void setOptions(LocaleId locale, String defaultEncoding)
locale - the output locale.defaultEncoding - Name of the character set encoding for the output.void setOutput(String path)
path - Full path of the output file.void setOutput(OutputStream output)
output - Output stream to use for the output.Event handleEvent(Event event)
event - The event to process.void close()
close in interface AutoCloseableIParameters getParameters()
void setParameters(IParameters params)
params - The new parameters to use.void cancel()
EncoderManager getEncoderManager()
ISkeletonWriter getSkeletonWriter()
Copyright © 2022. All rights reserved.