public class CustomObjectInputStream extends ObjectInputStream
| Modifier and Type | Class and Description |
|---|---|
static interface |
CustomObjectInputStream.StreamCallback |
ObjectInputStream.GetFieldbaseWireHandle, 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, resolveProxyClasspublic CustomObjectInputStream(CustomObjectInputStream.StreamCallback callback) throws IOException, SecurityException
IOExceptionSecurityException#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 ObjectInputStreamIOExceptionprotected Object readObjectOverride() throws IOException
readObjectOverride in class ObjectInputStreamIOExceptionpublic Object readUnshared() throws IOException, ClassNotFoundException
readUnshared in class ObjectInputStreamIOExceptionClassNotFoundExceptionpublic boolean readBoolean()
throws IOException
readBoolean in interface DataInputreadBoolean in class ObjectInputStreamIOExceptionpublic byte readByte()
throws IOException
readByte in interface DataInputreadByte in class ObjectInputStreamIOExceptionpublic int readUnsignedByte()
throws IOException
readUnsignedByte in interface DataInputreadUnsignedByte in class ObjectInputStreamIOExceptionpublic int readInt()
throws IOException
readInt in interface DataInputreadInt in class ObjectInputStreamIOExceptionpublic char readChar()
throws IOException
readChar in interface DataInputreadChar in class ObjectInputStreamIOExceptionpublic float readFloat()
throws IOException
readFloat in interface DataInputreadFloat in class ObjectInputStreamIOExceptionpublic double readDouble()
throws IOException
readDouble in interface DataInputreadDouble in class ObjectInputStreamIOExceptionpublic long readLong()
throws IOException
readLong in interface DataInputreadLong in class ObjectInputStreamIOExceptionpublic short readShort()
throws IOException
readShort in interface DataInputreadShort in class ObjectInputStreamIOExceptionpublic int readUnsignedShort()
throws IOException
readUnsignedShort in interface DataInputreadUnsignedShort in class ObjectInputStreamIOExceptionpublic String readUTF() throws IOException
readUTF in interface DataInputreadUTF in class ObjectInputStreamIOExceptionpublic void readFully(byte[] buf)
throws IOException
readFully in interface DataInputreadFully in class ObjectInputStreamIOExceptionpublic void readFully(byte[] buf,
int off,
int len)
throws IOException
readFully in interface DataInputreadFully in class ObjectInputStreamIOExceptionpublic int read()
throws IOException
read in interface ObjectInputread in class ObjectInputStreamIOExceptionpublic int read(byte[] buf,
int off,
int len)
throws IOException
read in interface ObjectInputread in class ObjectInputStreamIOExceptionpublic int read(byte[] b)
throws IOException
read in interface ObjectInputread in class InputStreamIOExceptionpublic ObjectInputStream.GetField readFields() throws IOException
readFields in class ObjectInputStreamIOExceptionpublic void registerValidation(ObjectInputValidation validation, int priority) throws NotActiveException, InvalidObjectException
registerValidation in class ObjectInputStreamNotActiveExceptionInvalidObjectExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface ObjectInputclose in interface AutoCloseableclose in class ObjectInputStreamIOExceptionpublic int available()
available in interface ObjectInputavailable in class ObjectInputStreampublic String readLine()
readLine in interface DataInputreadLine in class ObjectInputStreampublic int skipBytes(int len)
skipBytes in interface DataInputskipBytes in class ObjectInputStreampublic long skip(long n)
skip in interface ObjectInputskip in class InputStreampublic void mark(int readlimit)
mark in class InputStreampublic void reset()
reset in class InputStreampublic boolean markSupported()
markSupported in class InputStreamCopyright © 2021 Internet2. All rights reserved.