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_DICTIONARY, 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) |
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 int[] readAMF3VectorInt() throws IOException
IOExceptionprotected long[] readAMF3VectorUint() throws IOException
IOExceptionprotected double[] readAMF3VectorNumber() throws IOException
IOExceptionprotected List<Object> readAMF3VectorObject() throws IOException
IOExceptionprotected Map<Object,Object> readAMF3Dictionary() 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