public class CustomObjectInputStream extends ObjectInputStream
Modifier and Type | Class and Description |
---|---|
static interface |
CustomObjectInputStream.StreamCallback |
ObjectInputStream.GetField
baseWireHandle, PROTOCOL_VERSION_1, PROTOCOL_VERSION_2, SC_BLOCK_DATA, SC_ENUM, 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_ENUM, TC_EXCEPTION, TC_LONGSTRING, TC_MAX, TC_NULL, TC_OBJECT, TC_PROXYCLASSDESC, TC_REFERENCE, TC_RESET, TC_STRING
Constructor and Description |
---|
CustomObjectInputStream(CustomObjectInputStream.StreamCallback callback)
Warning, this object is expensive to create (due to functionality inherited from superclass).
|
enableResolveObject, readClassDescriptor, readObject, readStreamHeader, resolveClass, resolveObject, resolveProxyClass
public CustomObjectInputStream(CustomObjectInputStream.StreamCallback callback) throws IOException, SecurityException
IOException
SecurityException
#getInstance(edu.internet2.middleware.grouperClientExt.com.thoughtworks.xstream.converters.DataHolder, com.thoughtworks.xstream.core.util.CustomObjectInputStream.StreamCallback)
public static CustomObjectInputStream getInstance(DataHolder whereFrom, CustomObjectInputStream.StreamCallback callback)
public void pushCallback(CustomObjectInputStream.StreamCallback callback)
public CustomObjectInputStream.StreamCallback popCallback()
public CustomObjectInputStream.StreamCallback peekCallback()
public void defaultReadObject() throws IOException
defaultReadObject
in class ObjectInputStream
IOException
protected Object readObjectOverride() throws IOException
readObjectOverride
in class ObjectInputStream
IOException
public Object readUnshared() throws IOException, ClassNotFoundException
readUnshared
in class ObjectInputStream
IOException
ClassNotFoundException
public boolean readBoolean() throws IOException
readBoolean
in interface DataInput
readBoolean
in class ObjectInputStream
IOException
public byte readByte() throws IOException
readByte
in interface DataInput
readByte
in class ObjectInputStream
IOException
public int readUnsignedByte() throws IOException
readUnsignedByte
in interface DataInput
readUnsignedByte
in class ObjectInputStream
IOException
public int readInt() throws IOException
readInt
in interface DataInput
readInt
in class ObjectInputStream
IOException
public char readChar() throws IOException
readChar
in interface DataInput
readChar
in class ObjectInputStream
IOException
public float readFloat() throws IOException
readFloat
in interface DataInput
readFloat
in class ObjectInputStream
IOException
public double readDouble() throws IOException
readDouble
in interface DataInput
readDouble
in class ObjectInputStream
IOException
public long readLong() throws IOException
readLong
in interface DataInput
readLong
in class ObjectInputStream
IOException
public short readShort() throws IOException
readShort
in interface DataInput
readShort
in class ObjectInputStream
IOException
public int readUnsignedShort() throws IOException
readUnsignedShort
in interface DataInput
readUnsignedShort
in class ObjectInputStream
IOException
public String readUTF() throws IOException
readUTF
in interface DataInput
readUTF
in class ObjectInputStream
IOException
public void readFully(byte[] buf) throws IOException
readFully
in interface DataInput
readFully
in class ObjectInputStream
IOException
public void readFully(byte[] buf, int off, int len) throws IOException
readFully
in interface DataInput
readFully
in class ObjectInputStream
IOException
public int read() throws IOException
read
in interface ObjectInput
read
in class ObjectInputStream
IOException
public int read(byte[] buf, int off, int len) throws IOException
read
in interface ObjectInput
read
in class ObjectInputStream
IOException
public int read(byte[] b) throws IOException
read
in interface ObjectInput
read
in class InputStream
IOException
public ObjectInputStream.GetField readFields() throws IOException
readFields
in class ObjectInputStream
IOException
public void registerValidation(ObjectInputValidation validation, int priority) throws NotActiveException, InvalidObjectException
registerValidation
in class ObjectInputStream
NotActiveException
InvalidObjectException
public void close() throws IOException
close
in interface Closeable
close
in interface ObjectInput
close
in interface AutoCloseable
close
in class ObjectInputStream
IOException
public int available()
available
in interface ObjectInput
available
in class ObjectInputStream
public String readLine()
readLine
in interface DataInput
readLine
in class ObjectInputStream
public int skipBytes(int len)
skipBytes
in interface DataInput
skipBytes
in class ObjectInputStream
public long skip(long n)
skip
in interface ObjectInput
skip
in class InputStream
public void mark(int readlimit)
mark
in class InputStream
public void reset()
reset
in class InputStream
public boolean markSupported()
markSupported
in class InputStream
Copyright © 2016 Internet2. All rights reserved.