public abstract class EncodeOutputStream<M extends EncodeMetadata> extends java.io.FilterOutputStream implements EncodeStream<M>
| Constructor and Description |
|---|
EncodeOutputStream(java.io.OutputStream out) |
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(EncodeListener<M> listener) |
EncodeStream |
getChainHead() |
EncodeStream |
getNext() |
protected void |
notifyListeners() |
void |
removeListener(EncodeListener<M> listener) |
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetEncodeMetadataprotected void notifyListeners()
public void write(byte[] b)
throws java.io.IOException
write in class java.io.FilterOutputStreamjava.io.IOExceptionpublic void write(byte[] b,
int off,
int len)
throws java.io.IOException
write in class java.io.FilterOutputStreamjava.io.IOExceptionpublic void addListener(EncodeListener<M> listener)
addListener in interface EncodeStream<M extends EncodeMetadata>public void removeListener(EncodeListener<M> listener)
removeListener in interface EncodeStream<M extends EncodeMetadata>public EncodeStream getChainHead()
getChainHead in interface EncodeStream<M extends EncodeMetadata>public EncodeStream getNext()
getNext in interface EncodeStream<M extends EncodeMetadata>