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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ArrayDeserializer
public ArrayDeserializer(java.lang.Class componentType)
getType
public java.lang.Class getType()
- Specified by:
getType
in interface Deserializer
- Overrides:
getType
in class AbstractDeserializer
readList
public java.lang.Object readList(AbstractHessianInput in,
int length)
throws java.io.IOException
- Reads the array.
- Specified by:
readList
in interface Deserializer
- Overrides:
readList
in class AbstractDeserializer
- 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 interface Deserializer
- Overrides:
readLengthList
in class AbstractDeserializer
- Throws:
java.io.IOException
createArray
protected java.lang.Object[] createArray(int length)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object