com.caucho.hessian.io
Class CollectionDeserializer
java.lang.Object
com.caucho.hessian.io.AbstractDeserializer
com.caucho.hessian.io.AbstractListDeserializer
com.caucho.hessian.io.CollectionDeserializer
- All Implemented Interfaces:
- Deserializer
public class CollectionDeserializer
- extends AbstractListDeserializer
Deserializing a JDK 1.2 Collection.
Field Summary |
private java.lang.Class |
_type
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_type
private java.lang.Class _type
CollectionDeserializer
public CollectionDeserializer(java.lang.Class type)
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
- 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
- Specified by:
readLengthList
in interface Deserializer
- Overrides:
readLengthList
in class AbstractDeserializer
- Throws:
java.io.IOException
createList
private java.util.Collection createList()
throws java.io.IOException
- Throws:
java.io.IOException