com.caucho.hessian.io
Class AbstractStreamDeserializer
java.lang.Object
com.caucho.hessian.io.AbstractDeserializer
com.caucho.hessian.io.AbstractStreamDeserializer
- All Implemented Interfaces:
- Deserializer
public abstract class AbstractStreamDeserializer
- extends AbstractDeserializer
Deserializing a byte stream
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractStreamDeserializer
public AbstractStreamDeserializer()
getType
public abstract java.lang.Class getType()
- Specified by:
getType
in interface Deserializer
- Overrides:
getType
in class AbstractDeserializer
readMap
public java.lang.Object readMap(AbstractHessianInput in)
throws java.io.IOException
- Reads the Hessian 1.0 style map.
- Specified by:
readMap
in interface Deserializer
- Overrides:
readMap
in class AbstractDeserializer
- Throws:
java.io.IOException
readObject
public java.lang.Object readObject(AbstractHessianInput in,
java.lang.Object[] fields)
throws java.io.IOException
- Description copied from class:
AbstractDeserializer
- Reads an object instance from the input stream
- Specified by:
readObject
in interface Deserializer
- Overrides:
readObject
in class AbstractDeserializer
- Parameters:
in
- the input streamfields
- the deserializer's own field marshal
- Returns:
- the new object
- Throws:
java.io.IOException
readStreamValue
protected abstract java.lang.Object readStreamValue(AbstractHessianInput in)
throws java.io.IOException
- Throws:
java.io.IOException