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 delegatingObjectInput
that 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 int
available()
Deprecated.void
close()
Deprecated.int
read()
Deprecated.int
read(byte[] b)
Deprecated.int
read(byte[] b, int off, int len)
Deprecated.boolean
readBoolean()
Deprecated.byte
readByte()
Deprecated.char
readChar()
Deprecated.double
readDouble()
Deprecated.float
readFloat()
Deprecated.void
readFully(byte[] b)
Deprecated.void
readFully(byte[] b, int off, int len)
Deprecated.int
readInt()
Deprecated.String
readLine()
Deprecated.long
readLong()
Deprecated.Object
readObject()
Deprecated.short
readShort()
Deprecated.int
readUnsignedByte()
Deprecated.int
readUnsignedShort()
Deprecated.String
readUTF()
Deprecated.long
skip(long n)
Deprecated.int
skipBytes(int n)
Deprecated.
-
-
-
Constructor Detail
-
UnclosableObjectInputStream
public UnclosableObjectInputStream(ObjectInput delegate)
Deprecated.
-
-
Method Detail
-
readObject
public final Object readObject() throws ClassNotFoundException, IOException
Deprecated.- Throws:
ClassNotFoundException
IOException
-
read
public final int read() throws IOException
Deprecated.- Throws:
IOException
-
read
public final int read(byte[] b) throws IOException
Deprecated.- Throws:
IOException
-
read
public final int read(byte[] b, int off, int len) throws IOException
Deprecated.- Throws:
IOException
-
skip
public final long skip(long n) throws IOException
Deprecated.- Throws:
IOException
-
available
public final int available() throws IOException
Deprecated.- Throws:
IOException
-
close
public final void close() throws IOException
Deprecated.- Throws:
IOException
-
readFully
public final void readFully(byte[] b) throws IOException
Deprecated.- Throws:
IOException
-
readFully
public final void readFully(byte[] b, int off, int len) throws IOException
Deprecated.- Throws:
IOException
-
skipBytes
public final int skipBytes(int n) throws IOException
Deprecated.- Throws:
IOException
-
readBoolean
public final boolean readBoolean() throws IOException
Deprecated.- Throws:
IOException
-
readByte
public final byte readByte() throws IOException
Deprecated.- Throws:
IOException
-
readUnsignedByte
public final int readUnsignedByte() throws IOException
Deprecated.- Throws:
IOException
-
readShort
public final short readShort() throws IOException
Deprecated.- Throws:
IOException
-
readUnsignedShort
public final int readUnsignedShort() throws IOException
Deprecated.- Throws:
IOException
-
readChar
public final char readChar() throws IOException
Deprecated.- Throws:
IOException
-
readInt
public final int readInt() throws IOException
Deprecated.- Throws:
IOException
-
readLong
public final long readLong() throws IOException
Deprecated.- Throws:
IOException
-
readFloat
public final float readFloat() throws IOException
Deprecated.- Throws:
IOException
-
readDouble
public final double readDouble() throws IOException
Deprecated.- Throws:
IOException
-
readLine
public final String readLine() throws IOException
Deprecated.- Throws:
IOException
-
readUTF
public final String readUTF() throws IOException
Deprecated.- Throws:
IOException
-
-