|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.anwrt.commons.protocol.AwtHessianParser
public class AwtHessianParser
AwtHessianParser is used to deserialize hessian objects from a stream to
a Java Object
creation : 13 aug 2008
| Field Summary | |
|---|---|
java.util.ArrayList |
classDefs
List of class def |
java.util.ArrayList |
directClassDefs
List of direct class defs |
| Constructor Summary | |
|---|---|
AwtHessianParser()
|
|
| Method Summary | |
|---|---|
void |
addClassDefs(HessianClassdef hessianClassdef)
|
java.lang.Object |
deserialize(HessianValue aValue)
Deserialize the HessianValue given as parameter to a Java object |
java.util.List |
getClassDefs()
|
HessianValue |
parse(byte[] buffer)
Parse the byte array given as parameter and return the parsed HessianValue. |
HessianValue |
parse(java.io.InputStream is)
Parse the stream given as parameter and return the parsed HessianValue. |
HessianEnvelope |
parseEnvelope(java.io.InputStream is)
Read from the stream given as parameter and return the read HessianEnveloppe. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final java.util.ArrayList classDefs
public final java.util.ArrayList directClassDefs
| Constructor Detail |
|---|
public AwtHessianParser()
| Method Detail |
|---|
public HessianEnvelope parseEnvelope(java.io.InputStream is)
throws AwtHessianParserException
is - The stream to be read.
AwtHessianParserException - if an error occurred.
public HessianValue parse(byte[] buffer)
throws AwtHessianParserException
buffer - The byte array to be parsed.
AwtHessianParserException - if an error occurred during parse.
public HessianValue parse(java.io.InputStream is)
throws AwtHessianParserException
is - The Stream array to be parsed.
AwtHessianParserException - if an error occurred during parse.
public java.lang.Object deserialize(HessianValue aValue)
throws AwtHessianParserException
aValue -
AwtHessianParserExceptionpublic java.util.List getClassDefs()
public void addClassDefs(HessianClassdef hessianClassdef)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||