public class RiverUnmarshaller extends AbstractUnmarshaller
classExternalizerFactory, classResolver, classTable, configuredVersion, exceptionListener, objectPreResolver, objectResolver, objectTable, serializabilityChecker, streamHeaderbuffer, limit, positionbyteInput| Modifier | Constructor and Description |
|---|---|
protected |
RiverUnmarshaller(RiverMarshallerFactory marshallerFactory,
SerializableClassRegistry registry,
MarshallingConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearClassCache()
Discard the class cache.
|
void |
clearInstanceCache()
Discard the instance cache.
|
void |
close() |
protected void |
discardFields(SerializableClassDescriptor descriptor) |
protected Object |
doReadNewObject(int streamClassType,
boolean unshared,
boolean discardMissing) |
protected Object |
doReadObject(boolean unshared)
Implementation of the actual object-reading method.
|
void |
finish()
Finish reading from the current input.
|
protected void |
readFields(Object obj,
SerializableClassDescriptor descriptor,
boolean discardMissing) |
protected String |
readString() |
String |
readUTF() |
void |
start(ByteInput byteInput)
Start reading from the given input.
|
readObject, readObject, readObjectUnshared, readObjectUnsharedavailable, read, read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readIntDirect, readLine, readLong, readLongDirect, readShort, readUnsignedByte, readUnsignedByteDirect, readUnsignedShort, skip, skipBytesmark, markSupported, resetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitreadObject, readObjectUnshared, readObjectUnsharedavailable, read, read, read, readObject, skipreadBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, skipBytesprotected RiverUnmarshaller(RiverMarshallerFactory marshallerFactory, SerializableClassRegistry registry, MarshallingConfiguration configuration)
public void clearInstanceCache()
throws IOException
UnmarshallerIOException - if an error occurspublic void clearClassCache()
throws IOException
UnmarshallerIOException - if an error occurspublic void close()
throws IOException
SimpleDataInputclose in interface Closeableclose in interface ObjectInputclose in interface AutoCloseableclose in class SimpleDataInputIOExceptionpublic void finish()
throws IOException
AbstractUnmarshallerfinish in interface Unmarshallerfinish in class AbstractUnmarshallerIOException - not thrown by this implementation, but may be overridden to be thrown if a problem occursprotected Object doReadObject(boolean unshared) throws ClassNotFoundException, IOException
AbstractObjectInputdoReadObject in class AbstractObjectInputunshared - true if the instance should be unshared, false if it is sharedClassNotFoundException - if the class for the object could not be loadedIOException - if an I/O error occursprotected String readString() throws IOException
IOExceptionpublic void start(ByteInput byteInput) throws IOException
AbstractUnmarshallerstart in interface Unmarshallerstart in class AbstractUnmarshallerbyteInput - the new input from which to readIOException - not thrown by this implementation, but may be overridden to be thrown if a problem occursprotected Object doReadNewObject(int streamClassType, boolean unshared, boolean discardMissing) throws ClassNotFoundException, IOException
ClassNotFoundExceptionIOExceptionprotected void readFields(Object obj, SerializableClassDescriptor descriptor, boolean discardMissing) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionprotected void discardFields(SerializableClassDescriptor descriptor) throws IOException
IOExceptionpublic String readUTF() throws IOException
SimpleDataInputreadUTF in interface DataInputreadUTF in class SimpleDataInputIOExceptionCopyright © 2020 JBoss by Red Hat. All rights reserved.