public class TransifexFilterWriter extends Object implements IFilterWriter
IFilterWriter for Transifex project.| Constructor and Description |
|---|
TransifexFilterWriter() |
| 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)
Does nothing: A Transifex project always re-write onto itself.
|
void |
setOutput(String path)
Does nothing: A Transifex project always re-write onto itself.
|
void |
setParameters(IParameters params)
Sets new parameters for this writer.
|
public void cancel()
IFilterWritercancel in interface IFilterWriterpublic void close()
IFilterWriterclose in interface AutoCloseableclose in interface IFilterWriterpublic EncoderManager getEncoderManager()
IFilterWritergetEncoderManager in interface IFilterWriterpublic String getName()
IFilterWritergetName in interface IFilterWriterpublic IParameters getParameters()
IFilterWritergetParameters in interface IFilterWriterpublic ISkeletonWriter getSkeletonWriter()
IFilterWritergetSkeletonWriter in interface IFilterWriterpublic Event handleEvent(Event event)
IFilterWriterhandleEvent in interface IFilterWriterevent - The event to process.public void setOptions(LocaleId locale, String defaultEncoding)
IFilterWritersetOptions in interface IFilterWriterlocale - the output locale.defaultEncoding - Name of the character set encoding for the output.public void setOutput(String path)
setOutput in interface IFilterWriterpath - Full path of the output file.public void setOutput(OutputStream output)
setOutput in interface IFilterWriteroutput - Output stream to use for the output.public void setParameters(IParameters params)
IFilterWritersetParameters in interface IFilterWriterparams - The new parameters to use.Copyright © 2021. All rights reserved.