com.caucho.hessian.io

Class ArrayDeserializer


public class ArrayDeserializer
extends AbstractListDeserializer

Deserializing a Java array

Field Summary

private Class
_componentType

Constructor Summary

ArrayDeserializer(Deserializer componentDeserializer)

Method Summary

protected Object[]
createArray(int length)
Class
getType()
Object
readList(AbstractHessianInput in, int length)
Reads the array.
String
toString()

Methods inherited from class com.caucho.hessian.io.AbstractListDeserializer

readObject

Methods inherited from class com.caucho.hessian.io.Deserializer

getType, readList, readMap, readObject

Field Details

_componentType

private Class _componentType

Constructor Details

ArrayDeserializer

public ArrayDeserializer(Deserializer componentDeserializer)

Method Details

createArray

protected Object[] createArray(int length)

getType

public Class getType()
Overrides:
getType in interface Deserializer

readList

public Object readList(AbstractHessianInput in,
                       int length)
            throws IOException
Reads the array.
Overrides:
readList in interface Deserializer

toString

public String toString()