public class Encoder extends AbstractCodec
| Modifier and Type | Field and Description |
|---|---|
protected Format[] |
outputFormats |
inputFormat, inputFormats, opened, outputFormatBUFFER_PROCESSED_FAILED, BUFFER_PROCESSED_OK, INPUT_BUFFER_NOT_CONSUMED, OUTPUT_BUFFER_NOT_FILLED, PLUGIN_TERMINATED| Constructor and Description |
|---|
Encoder() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
java.lang.String |
getName() |
Format[] |
getSupportedOutputFormats(Format input) |
void |
open() |
int |
process(Buffer inputBuffer,
Buffer outputBuffer) |
Format |
setInputFormat(Format arg0) |
Format |
setOutputFormat(Format arg0) |
checkInputBuffer, dump, getInputFormat, getOutputFormat, getSupportedInputFormats, isEOM, propagateEOMresetaddControl, getControl, getControls, removeControlclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetControl, getControlsprotected Format[] outputFormats
public java.lang.String getName()
getName in interface PlugIngetName in class AbstractPlugInpublic Format[] getSupportedOutputFormats(Format input)
getSupportedOutputFormats in interface CodecgetSupportedOutputFormats in class AbstractCodecpublic void open()
open in interface PlugInopen in class AbstractPlugInpublic void close()
close in interface PlugInclose in class AbstractPlugInpublic int process(Buffer inputBuffer, Buffer outputBuffer)
process in interface Codecprocess in class AbstractCodecpublic Format setInputFormat(Format arg0)
setInputFormat in interface CodecsetInputFormat in class AbstractCodecpublic Format setOutputFormat(Format arg0)
setOutputFormat in interface CodecsetOutputFormat in class AbstractCodec