public class JBossObjectInputStream extends ObjectInputStream implements DataContainerConstants
ObjectInputStream.GetFieldBOOLEAN, BOOLEANOBJ, BYTE, BYTEARRAY, BYTEOBJ, CHARACTER, CHARACTEROBJ, CLASSDEF, closeSign, DOUBLE, DOUBLEOBJ, FLOAT, FLOATOBJ, IMMUTABLE_OBJREF, INTEGER, INTEGEROBJ, LONG, LONGOBJ, NEWDEF, NULLREF, OBJECTDEF, OBJECTREF, openSign, RESET, SHORT, SHORTOBJ, SMARTCLONE_DEF, STRINGbaseWireHandle, 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 |
|---|
JBossObjectInputStream(InputStream is) |
JBossObjectInputStream(InputStream is,
ClassLoader loader) |
JBossObjectInputStream(InputStream is,
ClassLoader loader,
StringUtilBuffer buffer)
In case of InputStream is null, the only method that can be used on this class is smartClone
|
JBossObjectInputStream(InputStream is,
StringUtilBuffer buffer) |
enableResolveObject, readFields, readObject, resolveObject, resolveProxyClassmark, markSupported, resetpublic JBossObjectInputStream(InputStream is) throws IOException
IOExceptionpublic JBossObjectInputStream(InputStream is, StringUtilBuffer buffer) throws IOException
IOExceptionpublic JBossObjectInputStream(InputStream is, ClassLoader loader) throws IOException
IOExceptionpublic JBossObjectInputStream(InputStream is, ClassLoader loader, StringUtilBuffer buffer) throws IOException
IOExceptionprotected ObjectSubstitutionInterface getSubstitutionInterface() throws IOException
IOExceptionprotected Class resolveClass(ObjectStreamClass desc) throws IOException, ClassNotFoundException
resolveClass in class ObjectInputStreamIOExceptionClassNotFoundExceptionpublic Object readObjectUsingDataContainer() throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionpublic Object readObjectOverride() throws IOException, ClassNotFoundException
readObjectOverride in class ObjectInputStreamIOExceptionClassNotFoundExceptionpublic Object readUnshared() throws IOException, ClassNotFoundException
readUnshared in class ObjectInputStreamIOExceptionClassNotFoundExceptionpublic void defaultReadObject()
throws IOException,
ClassNotFoundException
defaultReadObject in class ObjectInputStreamIOExceptionClassNotFoundExceptionpublic void registerValidation(ObjectInputValidation obj, int prio) throws NotActiveException, InvalidObjectException
registerValidation in class ObjectInputStreamNotActiveExceptionInvalidObjectExceptionprotected void readStreamHeader()
throws IOException,
StreamCorruptedException
readStreamHeader in class ObjectInputStreamIOExceptionStreamCorruptedExceptionprotected ObjectStreamClass readClassDescriptor() throws IOException, ClassNotFoundException
readClassDescriptor in class ObjectInputStreamIOExceptionClassNotFoundExceptionprotected ClassDescriptorStrategy getClassDescriptorStrategy()
protected void setClassDescriptorStrategy(ClassDescriptorStrategy classDescriptorStrategy)
protected ObjectDescriptorStrategy getObjectDescriptorStrategy()
protected void setObjectDescriptorStrategy(ObjectDescriptorStrategy objectDescriptorStrategy)
public 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 available()
throws IOException
available in interface ObjectInputavailable in class ObjectInputStreamIOException - if there are I/O errors while reading from the underlying
InputStreampublic void close()
throws IOException
close in interface Closeableclose in interface ObjectInputclose in interface AutoCloseableclose in class ObjectInputStreamIOExceptionpublic 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 char readChar()
throws IOException
readChar in interface DataInputreadChar 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 int readInt()
throws IOException
readInt in interface DataInputreadInt in class ObjectInputStreamIOExceptionpublic long readLong()
throws IOException
readLong in interface DataInputreadLong 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 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 skipBytes(int len)
throws IOException
skipBytes in interface DataInputskipBytes in class ObjectInputStreamIOExceptionpublic String readLine() throws IOException
readLine in interface DataInputreadLine in class ObjectInputStreamIOExceptionpublic String readUTF() throws IOException
readUTF in interface DataInputreadUTF in class ObjectInputStreamIOExceptionpublic int read(byte[] b)
throws IOException
read in interface ObjectInputread in class InputStreamIOExceptionpublic long skip(long n)
throws IOException
skip in interface ObjectInputskip in class InputStreamIOExceptionpublic ClassLoader getClassLoader()
public void setClassLoader(ClassLoader classLoader)
Copyright © 2011-2012 Ovea. All Rights Reserved.