public class AMF0Deserializer extends Object
| Constructor and Description |
|---|
AMF0Deserializer(InputStream inputStream)
Deserialize message
|
| Modifier and Type | Method and Description |
|---|---|
static Document |
convertToDOM(DataInputStream is) |
AMF0Message |
getAMFMessage() |
protected Object |
readAMF3Data()
Reads object
|
protected List<?> |
readArray()
Reads array
|
protected Object |
readASObject()
Reads object
|
protected void |
readBodies()
Read message body
|
protected Object |
readCustomClass()
Reads custom class
|
protected Object |
readData(byte type)
Reads object from inputstream with selected type
|
protected Date |
readDate()
Reads date
|
protected Object |
readFlushedSO()
Reads flushed stored object
|
protected void |
readHeaders()
Read message header
|
protected ASObject |
readObject() |
protected ASObject |
readObject(ASObject aso)
Reads an object and converts the binary data into an List
|
public AMF0Deserializer(InputStream inputStream) throws IOException
inputStream - message input streamIOExceptionpublic AMF0Message getAMFMessage()
protected void readHeaders() throws IOException
IOExceptionprotected void readBodies() throws IOException
IOExceptionprotected Object readCustomClass() throws IOException
IOExceptionprotected ASObject readObject() throws IOException
IOExceptionprotected ASObject readObject(ASObject aso) throws IOException
aso - IOExceptionprotected List<?> readArray() throws IOException
IOExceptionprotected Date readDate() throws IOException
IOExceptionprotected Object readFlushedSO() throws IOException
IOExceptionprotected Object readASObject()
protected Object readAMF3Data() throws IOException
IOExceptionprotected Object readData(byte type) throws IOException
type - IOExceptionpublic static Document convertToDOM(DataInputStream is) throws IOException
IOException