public class Encoder extends AbstractCodec
Modifier and Type | Field and Description |
---|---|
protected Format[] |
outputFormats |
inputFormat, inputFormats, opened, outputFormat
BUFFER_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, propagateEOM
reset
addControl, getControl, getControls, removeControl
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getControl, getControls
protected Format[] outputFormats
public java.lang.String getName()
getName
in interface PlugIn
getName
in class AbstractPlugIn
public Format[] getSupportedOutputFormats(Format input)
getSupportedOutputFormats
in interface Codec
getSupportedOutputFormats
in class AbstractCodec
public void open()
open
in interface PlugIn
open
in class AbstractPlugIn
public void close()
close
in interface PlugIn
close
in class AbstractPlugIn
public int process(Buffer inputBuffer, Buffer outputBuffer)
process
in interface Codec
process
in class AbstractCodec
public Format setInputFormat(Format arg0)
setInputFormat
in interface Codec
setInputFormat
in class AbstractCodec
public Format setOutputFormat(Format arg0)
setOutputFormat
in interface Codec
setOutputFormat
in class AbstractCodec