|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IFilterWriter
Provides the common methods to generate an output from the events generated by a class that implements IFilter.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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()
IParameters getParameters()
void setParameters(IParameters params)
params - The new parameters to use.void cancel()
EncoderManager getEncoderManager()
ISkeletonWriter getSkeletonWriter()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||