public class AMF3Deserializer extends DataInputStream implements ObjectInput, AMF3Constants
| Modifier and Type | Field and Description |
|---|---|
protected GraniteContext |
context |
protected boolean |
debug |
protected boolean |
debugMore |
protected static Logger |
log |
protected static Logger |
logMore |
protected AMF3DeserializerSecurizer |
securizer |
protected List<ActionScriptClassDescriptor> |
storedClassDescriptors |
protected List<Object> |
storedObjects |
protected List<String> |
storedStrings |
protected XMLUtil |
xmlUtil |
inAMF3_ARRAY, AMF3_BOOLEAN_FALSE, AMF3_BOOLEAN_TRUE, AMF3_BYTEARRAY, AMF3_DATE, AMF3_INTEGER, AMF3_INTEGER_MAX, AMF3_INTEGER_MIN, AMF3_NULL, AMF3_NUMBER, AMF3_OBJECT, AMF3_STRING, AMF3_UNDEFINED, AMF3_VECTOR_INT, AMF3_VECTOR_NUMBER, AMF3_VECTOR_OBJECT, AMF3_VECTOR_UINT, AMF3_XML, AMF3_XMLSTRING| Constructor and Description |
|---|
AMF3Deserializer(InputStream in) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addToStoredClassDescriptors(ActionScriptClassDescriptor desc) |
protected int |
addToStoredObjects(Object o) |
protected void |
addToStoredStrings(String s) |
protected ActionScriptClassDescriptor |
getFromStoredClassDescriptors(int index) |
protected Object |
getFromStoredObjects(int index) |
protected String |
getFromStoredStrings(int index) |
protected Object |
readAMF3Array() |
protected byte[] |
readAMF3ByteArray() |
protected Date |
readAMF3Date() |
protected Double |
readAMF3Double() |
protected int |
readAMF3Integer() |
protected Object |
readAMF3Object() |
protected String |
readAMF3String() |
protected Object |
readAMF3VectorInt() |
protected Object |
readAMF3VectorNumber() |
protected Object |
readAMF3VectorObject() |
protected Object |
readAMF3VectorUInt() |
protected Document |
readAMF3Xml() |
protected String |
readAMF3XmlString() |
protected byte[] |
readBytes(int count) |
Object |
readObject() |
protected Object |
readObject(int type) |
protected void |
setStoredObject(int index,
Object o) |
read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, readUTF, skipBytesavailable, close, mark, markSupported, read, reset, skipclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitreadBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, skipBytesprotected final List<String> storedStrings
protected final List<Object> storedObjects
protected final List<ActionScriptClassDescriptor> storedClassDescriptors
protected final GraniteContext context
protected final AMF3DeserializerSecurizer securizer
protected final boolean debug
protected final boolean debugMore
public AMF3Deserializer(InputStream in)
public Object readObject() throws IOException
readObject in interface ObjectInputIOExceptionprotected Object readObject(int type) throws IOException
IOExceptionprotected int readAMF3Integer() throws IOException
IOExceptionprotected Double readAMF3Double() throws IOException
IOExceptionprotected String readAMF3String() throws IOException
IOExceptionprotected Date readAMF3Date() throws IOException
IOExceptionprotected Object readAMF3Array() throws IOException
IOExceptionprotected Object readAMF3VectorInt() throws IOException
IOExceptionprotected Object readAMF3VectorUInt() throws IOException
IOExceptionprotected Object readAMF3VectorNumber() throws IOException
IOExceptionprotected Object readAMF3VectorObject() throws IOException
IOExceptionprotected Object readAMF3Object() throws IOException
IOExceptionprotected Document readAMF3Xml() throws IOException
IOExceptionprotected String readAMF3XmlString() throws IOException
IOExceptionprotected byte[] readAMF3ByteArray() throws IOException
IOExceptionprotected void addToStoredStrings(String s)
protected String getFromStoredStrings(int index)
protected int addToStoredObjects(Object o)
protected void setStoredObject(int index, Object o)
protected Object getFromStoredObjects(int index)
protected void addToStoredClassDescriptors(ActionScriptClassDescriptor desc)
protected ActionScriptClassDescriptor getFromStoredClassDescriptors(int index)
protected byte[] readBytes(int count) throws IOException
IOException