org.objectweb.dream.serializator
Class CodecInputOutputByteArray
java.lang.Object
org.objectweb.dream.message.codec.CodecInputOutputImpl
org.objectweb.dream.serializator.CodecInputOutputByteArray
- All Implemented Interfaces:
- CodecInputOutput, Recyclable
public class CodecInputOutputByteArray
- extends CodecInputOutputImpl
An CodecInputOutput that contains a ByteArrayOutputStream.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
byteArrayOutputStream
protected ByteArrayOutputStream byteArrayOutputStream
CodecInputOutputByteArray
public CodecInputOutputByteArray()
getByteArray
public byte[] getByteArray()
- Returns the byte array associated to this codec.
- Returns:
- the byte array associated to this codec.
getOutput
public Object getOutput()
throws IOException
- Specified by:
getOutput
in interface CodecInputOutput
- Overrides:
getOutput
in class CodecInputOutputImpl
- Throws:
IOException
- See Also:
CodecInputOutput.getOutput()
recycle
public void recycle()
- Specified by:
recycle
in interface Recyclable
- Overrides:
recycle
in class CodecInputOutputImpl
- See Also:
Recyclable.recycle()
Copyright © 2003, 2005 - INRIA Rhone-Alpes - All Rights Reserved.