wt.pds
Class PDSEncoder.DecodeObjectInputStream
java.lang.Object
java.io.InputStream
java.io.ObjectInputStream
wt.pds.PDSEncoder.DecodeObjectInputStream
- All Implemented Interfaces:
- DataInput, ObjectInput, ObjectStreamConstants, PDSObjectInput
- Direct Known Subclasses:
- PDSEncoder.RewriteCheckingDecodeObjectInputStream
- Enclosing class:
- PDSEncoder
- static class PDSEncoder.DecodeObjectInputStream
- extends ObjectInputStream
- implements PDSObjectInput
Fields inherited from interface java.io.ObjectStreamConstants |
baseWireHandle, PROTOCOL_VERSION_1, PROTOCOL_VERSION_2, SC_BLOCK_DATA, SC_EXTERNALIZABLE, SC_SERIALIZABLE, SC_WRITE_METHOD, STREAM_MAGIC, STREAM_VERSION, SUBCLASS_IMPLEMENTATION_PERMISSION, SUBSTITUTION_PERMISSION, TC_ARRAY, TC_BASE, TC_BLOCKDATA, TC_BLOCKDATALONG, TC_CLASS, TC_CLASSDESC, TC_ENDBLOCKDATA, TC_EXCEPTION, TC_LONGSTRING, TC_MAX, TC_NULL, TC_OBJECT, TC_PROXYCLASSDESC, TC_REFERENCE, TC_RESET, TC_STRING |
Methods inherited from class java.io.ObjectInputStream |
available, defaultReadObject, enableResolveObject, read, read, readBoolean, readByte, readChar, readDouble, readFields, readFloat, readFully, readFully, readInt, readLine, readLong, readObject, readObjectOverride, readShort, readStreamHeader, readUnshared, readUnsignedByte, readUnsignedShort, readUTF, registerValidation, resolveClass, resolveObject, resolveProxyClass, skipBytes |
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 |
DYN_ENUM_TYPE_OLD_SVUID
private static final long DYN_ENUM_TYPE_OLD_SVUID
- See Also:
- Constant Field Values
DISCRETE_SET_OLD_SVUID
private static final long DISCRETE_SET_OLD_SVUID
- See Also:
- Constant Field Values
crazyMappingTable
private static final PDSEncoder.SerializationMappingEntry[] crazyMappingTable
redirector
private PDSEncoder.InputRedirector redirector
PDSEncoder.DecodeObjectInputStream
private PDSEncoder.DecodeObjectInputStream(PDSEncoder.InputRedirector redirector)
throws IOException
newInstance
static PDSEncoder.DecodeObjectInputStream newInstance(String str)
throws IOException
- Throws:
IOException
newInstance
static PDSEncoder.DecodeObjectInputStream newInstance(InputStream in)
throws IOException
- Throws:
IOException
setInput
void setInput(String str)
throws IOException
- Throws:
IOException
setInput
void setInput(InputStream in)
throws IOException
- Throws:
IOException
resetStream
void resetStream()
throws IOException
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close
in interface ObjectInput
- Throws:
IOException
readClassDescriptor
protected ObjectStreamClass readClassDescriptor()
throws IOException,
ClassNotFoundException
- Read the class descriptor from the stream, but for select cases
(e.g. wt.fc.DynamicEnumType) replace the ObjectStreamClass with
one that will allow class validation to succeed and deserialization
to be handed over to the serializable class.
- Throws:
IOException
ClassNotFoundException