Package org.infinispan.io
Class UnclosableObjectInputStream
- java.lang.Object
-
- org.infinispan.io.UnclosableObjectInputStream
-
- All Implemented Interfaces:
DataInput,ObjectInput,AutoCloseable
@Deprecated public class UnclosableObjectInputStream extends Object implements ObjectInput
Deprecated.since 10.0A delegatingObjectInputthat delegates all methods exceptObjectInput.close().- Since:
- 4.0
- Author:
- Manik Surtani
-
-
Constructor Summary
Constructors Constructor Description UnclosableObjectInputStream(ObjectInput delegate)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description intavailable()Deprecated.voidclose()Deprecated.intread()Deprecated.intread(byte[] b)Deprecated.intread(byte[] b, int off, int len)Deprecated.booleanreadBoolean()Deprecated.bytereadByte()Deprecated.charreadChar()Deprecated.doublereadDouble()Deprecated.floatreadFloat()Deprecated.voidreadFully(byte[] b)Deprecated.voidreadFully(byte[] b, int off, int len)Deprecated.intreadInt()Deprecated.StringreadLine()Deprecated.longreadLong()Deprecated.ObjectreadObject()Deprecated.shortreadShort()Deprecated.intreadUnsignedByte()Deprecated.intreadUnsignedShort()Deprecated.StringreadUTF()Deprecated.longskip(long n)Deprecated.intskipBytes(int n)Deprecated.
-
-
-
Constructor Detail
-
UnclosableObjectInputStream
public UnclosableObjectInputStream(ObjectInput delegate)
Deprecated.
-
-
Method Detail
-
readObject
public final Object readObject() throws ClassNotFoundException, IOException
Deprecated.- Throws:
ClassNotFoundExceptionIOException
-
read
public final int read() throws IOExceptionDeprecated.- Throws:
IOException
-
read
public final int read(byte[] b) throws IOExceptionDeprecated.- Throws:
IOException
-
read
public final int read(byte[] b, int off, int len) throws IOExceptionDeprecated.- Throws:
IOException
-
skip
public final long skip(long n) throws IOExceptionDeprecated.- Throws:
IOException
-
available
public final int available() throws IOExceptionDeprecated.- Throws:
IOException
-
close
public final void close() throws IOExceptionDeprecated.- Throws:
IOException
-
readFully
public final void readFully(byte[] b) throws IOExceptionDeprecated.- Throws:
IOException
-
readFully
public final void readFully(byte[] b, int off, int len) throws IOExceptionDeprecated.- Throws:
IOException
-
skipBytes
public final int skipBytes(int n) throws IOExceptionDeprecated.- Throws:
IOException
-
readBoolean
public final boolean readBoolean() throws IOExceptionDeprecated.- Throws:
IOException
-
readByte
public final byte readByte() throws IOExceptionDeprecated.- Throws:
IOException
-
readUnsignedByte
public final int readUnsignedByte() throws IOExceptionDeprecated.- Throws:
IOException
-
readShort
public final short readShort() throws IOExceptionDeprecated.- Throws:
IOException
-
readUnsignedShort
public final int readUnsignedShort() throws IOExceptionDeprecated.- Throws:
IOException
-
readChar
public final char readChar() throws IOExceptionDeprecated.- Throws:
IOException
-
readInt
public final int readInt() throws IOExceptionDeprecated.- Throws:
IOException
-
readLong
public final long readLong() throws IOExceptionDeprecated.- Throws:
IOException
-
readFloat
public final float readFloat() throws IOExceptionDeprecated.- Throws:
IOException
-
readDouble
public final double readDouble() throws IOExceptionDeprecated.- Throws:
IOException
-
readLine
public final String readLine() throws IOException
Deprecated.- Throws:
IOException
-
readUTF
public final String readUTF() throws IOException
Deprecated.- Throws:
IOException
-
-