|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.codestreet.messageforge.Converter com.codestreet.messageforge.ConverterSerialization
Converter class for MsgMap and serialized streams.
Constructor Summary | |
ConverterSerialization()
|
Method Summary | |
static java.io.ObjectOutputStream |
marshal(java.io.OutputStream outs,
RMapMessage source)
Serialize a RMapMessage and create an ObjectOutputStream. |
static RMapMessage |
unmarshal(java.io.InputStream ins)
De-serialize a RMapMessage from an InputStream. |
Methods inherited from class com.codestreet.messageforge.Converter |
createMsgObject, createMsgObject, dateToDouble, dateToLong, dateToStr, getBeanValidator, getLenient, getVersion, setBeanValidator, setDateFromDouble, setDateFromLong, setDateFromStr, setDefaultFactory, setMaximumFractionDigits |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ConverterSerialization()
Method Detail |
public static java.io.ObjectOutputStream marshal(java.io.OutputStream outs, RMapMessage source) throws ConverterException
outs
- Output stream used to construct the ObjectOutputStream.source
- RMapMessage to serialize.
ConverterException
public static RMapMessage unmarshal(java.io.InputStream ins) throws ConverterException
ins
- Input stream used to construct the ObjectInputStream.
ConverterException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |