net.sf.farrago.catalog
Class FarragoReposUtil.InvalidXmlCharFilterInputStream.ByteOutputStream
java.lang.Object
java.io.OutputStream
java.io.ByteArrayOutputStream
net.sf.farrago.catalog.FarragoReposUtil.InvalidXmlCharFilterInputStream.ByteOutputStream
- All Implemented Interfaces:
- Closeable, Flushable
- Enclosing class:
- FarragoReposUtil.InvalidXmlCharFilterInputStream
private static class FarragoReposUtil.InvalidXmlCharFilterInputStream.ByteOutputStream
- extends ByteArrayOutputStream
ByteOutputStream extends ByteArrayOutputStream to provide
ByteBuffer-like operations such as compact, array and get.
Field Summary |
private int |
pos
|
pos
private int pos
FarragoReposUtil.InvalidXmlCharFilterInputStream.ByteOutputStream
public FarragoReposUtil.InvalidXmlCharFilterInputStream.ByteOutputStream(int initialBufferSize)
size
public void size(int size)
array
public byte[] array()
get
public byte get()
get
public void get(byte[] b,
int off,
int len)
remaining
public int remaining()
reset
public void reset()
- Overrides:
reset
in class ByteArrayOutputStream
compact
public void compact()