public final class ByteHandlerPipeline extends Object implements IByteHandler.IByteHandlerPipeline
IByteHandler.IByteHandlerPipeline
Constructor and Description |
---|
ByteHandlerPipeline(IByteHandler... pParts)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
ByteHandlerPipeline |
clone()
Defining the cloning operation
|
InputStream |
deserialize(InputStream pToDeserialize)
Method to deserialize any byte-chunk.
|
Iterator<IByteHandler> |
iterator() |
OutputStream |
serialize(OutputStream pToSerialize)
Method to serialize any byte-chunk.
|
String |
toString() |
@Inject public ByteHandlerPipeline(IByteHandler... pParts)
pParts
- to be stored, Order is important!public OutputStream serialize(OutputStream pToSerialize) throws TTByteHandleException
serialize
in interface IByteHandler
pToSerialize
- byte to be serializedTTByteHandleException
- to be capsulated.public InputStream deserialize(InputStream pToDeserialize) throws TTByteHandleException
deserialize
in interface IByteHandler
pToDeserialize
- to deserializeTTByteHandleException
- to be capsulated.public ByteHandlerPipeline clone()
clone
in interface IByteHandler
clone
in interface IByteHandler.IByteHandlerPipeline
clone
in class Object
IByteHandler
-instance.public Iterator<IByteHandler> iterator()
iterator
in interface Iterable<IByteHandler>
Copyright © 2013. All Rights Reserved.