|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Takes a marshalled byte array and converts to a Java data object.
| Method Summary | |
Object |
read(InputStream inputStream,
Map metadata)
Will read from the inputstream and converty contents to java Object. |
void |
setClassLoader(ClassLoader classloader)
Set the class loader to use for unmarhsalling. |
| Method Detail |
public Object read(InputStream inputStream,
Map metadata)
throws IOException,
ClassNotFoundException
inputStream - stream to read data from to do conversionmetadata - can be any transport specific metadata (such as headers from http transport).
This can be null, depending on if transport supports metadata.
IOException - all specific i/o exceptions need to be thrown as this.
ClassNotFoundException - will be thrown if during the unmarshalling process can not find a specific class
within classloader.public void setClassLoader(ClassLoader classloader)
classloader -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||