|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.netseeker.ejoe.adapter.UTF8StringAdapter
Simple raw string (de)Serializer for serializing/deserializing string messages. This adapter will always use UTF8 encoding.
Constructor Summary | |
UTF8StringAdapter()
|
Method Summary | |
void |
handleClassLoaderChange(java.lang.ClassLoader classLoader)
Signals a change of the ContextClassLoader of the current thread to the adapter. |
java.lang.Object |
read(java.io.InputStream in)
Deserializes an object out of an given InputStream |
void |
write(java.lang.Object obj,
java.io.OutputStream out)
Serializes an object into an output stream |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public UTF8StringAdapter()
Method Detail |
public java.lang.Object read(java.io.InputStream in) throws java.io.IOException
SerializeAdapter
read
in interface SerializeAdapter
in
- the input stream to use for deserialization
java.io.IOException
public void write(java.lang.Object obj, java.io.OutputStream out) throws java.io.IOException
SerializeAdapter
write
in interface SerializeAdapter
obj
- object that should get serializedout
- the outputstream into which the object should serialized
java.io.IOException
public void handleClassLoaderChange(java.lang.ClassLoader classLoader)
SerializeAdapter
handleClassLoaderChange
in interface SerializeAdapter
classLoader
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |