Package org.jboss.marshalling.serial
Class SerialUnmarshaller
- java.lang.Object
-
- java.io.InputStream
-
- org.jboss.marshalling.SimpleByteInput
-
- org.jboss.marshalling.ByteInputStream
-
- org.jboss.marshalling.SimpleDataInput
-
- org.jboss.marshalling.AbstractObjectInput
-
- org.jboss.marshalling.AbstractUnmarshaller
-
- org.jboss.marshalling.serial.SerialUnmarshaller
-
- All Implemented Interfaces:
Closeable,DataInput,ObjectInput,ObjectStreamConstants,AutoCloseable,org.jboss.marshalling.ByteInput,org.jboss.marshalling.Unmarshaller
public final class SerialUnmarshaller extends org.jboss.marshalling.AbstractUnmarshaller implements org.jboss.marshalling.Unmarshaller
-
-
Field Summary
Fields Modifier and Type Field Description static intTC_CLASSTABLEDESCstatic intTC_OBJECTTABLE-
Fields inherited from class org.jboss.marshalling.AbstractUnmarshaller
classExternalizerFactory, classResolver, classTable, configuredVersion, exceptionListener, objectPreResolver, objectResolver, objectTable, serializabilityChecker, streamHeader
-
Fields inherited from interface java.io.ObjectStreamConstants
baseWireHandle, PROTOCOL_VERSION_1, PROTOCOL_VERSION_2, SC_BLOCK_DATA, SC_ENUM, SC_EXTERNALIZABLE, SC_SERIALIZABLE, SC_WRITE_METHOD, SERIAL_FILTER_PERMISSION, STREAM_MAGIC, STREAM_VERSION, SUBCLASS_IMPLEMENTATION_PERMISSION, SUBSTITUTION_PERMISSION, TC_ARRAY, TC_BASE, TC_BLOCKDATA, TC_BLOCKDATALONG, TC_CLASS, TC_CLASSDESC, TC_ENDBLOCKDATA, TC_ENUM, TC_EXCEPTION, TC_LONGSTRING, TC_MAX, TC_NULL, TC_OBJECT, TC_PROXYCLASSDESC, TC_REFERENCE, TC_RESET, TC_STRING
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclearClassCache()voidclearInstanceCache()voidclose()org.jboss.marshalling.serial.DescriptordescriptorForClass(Class<?> clazz)protected ObjectdoReadObject(boolean unshared)voidfinish()voidstart(org.jboss.marshalling.ByteInput byteInput)-
Methods inherited from class org.jboss.marshalling.AbstractObjectInput
readObject, readObject, readObjectUnshared, readObjectUnshared
-
Methods inherited from class org.jboss.marshalling.SimpleDataInput
available, read, read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readIntDirect, readLine, readLong, readLongDirect, readShort, readUnsignedByte, readUnsignedByteDirect, readUnsignedShort, readUTF, skip, skipBytes
-
Methods inherited from class java.io.InputStream
mark, markSupported, nullInputStream, readAllBytes, readNBytes, readNBytes, reset, transferTo
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.io.DataInput
readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, skipBytes
-
Methods inherited from interface java.io.ObjectInput
available, read, read, read, readObject, skip
-
-
-
-
Field Detail
-
TC_CLASSTABLEDESC
public static final int TC_CLASSTABLEDESC
- See Also:
- Constant Field Values
-
TC_OBJECTTABLE
public static final int TC_OBJECTTABLE
- See Also:
- Constant Field Values
-
-
Method Detail
-
doReadObject
protected Object doReadObject(boolean unshared) throws ClassNotFoundException, IOException
- Specified by:
doReadObjectin classorg.jboss.marshalling.AbstractObjectInput- Throws:
ClassNotFoundExceptionIOException
-
clearInstanceCache
public void clearInstanceCache() throws IOException- Specified by:
clearInstanceCachein interfaceorg.jboss.marshalling.Unmarshaller- Throws:
IOException
-
clearClassCache
public void clearClassCache() throws IOException- Specified by:
clearClassCachein interfaceorg.jboss.marshalling.Unmarshaller- Throws:
IOException
-
start
public void start(org.jboss.marshalling.ByteInput byteInput) throws IOException- Specified by:
startin interfaceorg.jboss.marshalling.Unmarshaller- Overrides:
startin classorg.jboss.marshalling.AbstractUnmarshaller- Throws:
IOException
-
finish
public void finish() throws IOException- Specified by:
finishin interfaceorg.jboss.marshalling.Unmarshaller- Overrides:
finishin classorg.jboss.marshalling.AbstractUnmarshaller- Throws:
IOException
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceObjectInput- Overrides:
closein classorg.jboss.marshalling.SimpleDataInput- Throws:
IOException
-
descriptorForClass
public org.jboss.marshalling.serial.Descriptor descriptorForClass(Class<?> clazz)
-
-