Package org.infinispan.commons.marshall
Class DelegatingObjectInput
java.lang.Object
java.io.InputStream
org.infinispan.commons.marshall.DelegatingObjectInput
- All Implemented Interfaces:
Closeable
,DataInput
,ObjectInput
,AutoCloseable
Class that extends
InputStream
and implements ObjectInput
.
All the methods delegates to a ObjectInput
implementation.
- Since:
- 8.2
- Author:
- Pedro Ruivo
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
void
close()
int
read()
int
read
(byte[] b) int
read
(byte[] b, int off, int len) boolean
byte
readByte()
char
readChar()
double
float
void
readFully
(byte[] b) void
readFully
(byte[] b, int off, int len) int
readInt()
readLine()
long
readLong()
short
int
int
readUTF()
long
skip
(long n) int
skipBytes
(int n)
-
Field Details
-
objectInput
-
-
Constructor Details
-
DelegatingObjectInput
-
-
Method Details
-
readObject
- Throws:
ClassNotFoundException
IOException
-
read
- Throws:
IOException
-
read
- Throws:
IOException
-
read
- Throws:
IOException
-
skip
- Throws:
IOException
-
available
- Throws:
IOException
-
close
- Throws:
IOException
-
readFully
- Throws:
IOException
-
readFully
- Throws:
IOException
-
skipBytes
- Throws:
IOException
-
readBoolean
- Throws:
IOException
-
readByte
- Throws:
IOException
-
readUnsignedByte
- Throws:
IOException
-
readShort
- Throws:
IOException
-
readUnsignedShort
- Throws:
IOException
-
readChar
- Throws:
IOException
-
readInt
- Throws:
IOException
-
readLong
- Throws:
IOException
-
readFloat
- Throws:
IOException
-
readDouble
- Throws:
IOException
-
readLine
- Throws:
IOException
-
readUTF
- Throws:
IOException
-