|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--asgaard.utils.encode.ObjectEncoder
Is a Encoder, using HexEncOutputStream
to encode an object by
serialising and streaming it.
To prevent creating a new ObjectOutputStream (we need the full header) ObjectOutputStream has to be overwritten to add a reset - method.
HexEncOutputStream
Constructor Summary | |
ObjectEncoder()
Creates a new Decoder. |
Method Summary | |
java.lang.String |
getEncoded()
Get the encoded String. |
void |
setObject(java.lang.Object o)
Set the Object. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public ObjectEncoder()
Method Detail |
public void setObject(java.lang.Object o) throws java.io.IOException
public java.lang.String getEncoded() throws java.io.IOException
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |