Package com.caucho.hessian.io
Class ArrayDeserializer
- java.lang.Object
-
- com.caucho.hessian.io.AbstractDeserializer
-
- com.caucho.hessian.io.AbstractListDeserializer
-
- com.caucho.hessian.io.ArrayDeserializer
-
- All Implemented Interfaces:
Deserializer
public class ArrayDeserializer extends AbstractListDeserializer
Deserializing a Java array
-
-
Field Summary
-
Fields inherited from class com.caucho.hessian.io.AbstractDeserializer
NULL
-
-
Constructor Summary
Constructors Constructor Description ArrayDeserializer(java.lang.Class componentType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.Object[]
createArray(int length)
java.lang.Class
getType()
java.lang.Object
readLengthList(AbstractHessianInput in, int length)
Reads the array.java.lang.Object
readList(AbstractHessianInput in, int length)
Reads the array.java.lang.String
toString()
-
Methods inherited from class com.caucho.hessian.io.AbstractListDeserializer
readObject
-
Methods inherited from class com.caucho.hessian.io.AbstractDeserializer
codeName, createField, createFields, error, isReadResolve, readMap, readObject, readObject
-
-
-
-
Method Detail
-
getType
public java.lang.Class getType()
- Specified by:
getType
in interfaceDeserializer
- Overrides:
getType
in classAbstractDeserializer
-
readList
public java.lang.Object readList(AbstractHessianInput in, int length) throws java.io.IOException
Reads the array.- Specified by:
readList
in interfaceDeserializer
- Overrides:
readList
in classAbstractDeserializer
- Throws:
java.io.IOException
-
readLengthList
public java.lang.Object readLengthList(AbstractHessianInput in, int length) throws java.io.IOException
Reads the array.- Specified by:
readLengthList
in interfaceDeserializer
- Overrides:
readLengthList
in classAbstractDeserializer
- Throws:
java.io.IOException
-
createArray
protected java.lang.Object[] createArray(int length)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-