com.caucho.hessian.io
Class ArrayDeserializer

java.lang.Object
  extended by com.caucho.hessian.io.AbstractDeserializer
      extended by com.caucho.hessian.io.AbstractListDeserializer
          extended by 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
ArrayDeserializer(java.lang.Class componentType)
           
 
Method Summary
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ArrayDeserializer

public ArrayDeserializer(java.lang.Class componentType)
Method Detail

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