public class NullObjectInputStream
extends java.io.ObjectInputStream
| Modifier and Type | Field and Description |
|---|---|
static NullObjectInputStream |
INSTANCE |
baseWireHandle, 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| Modifier | Constructor and Description |
|---|---|
protected |
NullObjectInputStream() |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
close() |
void |
defaultReadObject() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] buf,
int off,
int len) |
boolean |
readBoolean() |
byte |
readByte() |
char |
readChar() |
protected java.io.ObjectStreamClass |
readClassDescriptor() |
double |
readDouble() |
java.io.ObjectInputStream.GetField |
readFields() |
float |
readFloat() |
void |
readFully(byte[] buf) |
void |
readFully(byte[] buf,
int off,
int len) |
int |
readInt() |
java.lang.String |
readLine() |
long |
readLong() |
short |
readShort() |
protected void |
readStreamHeader() |
java.lang.Object |
readUnshared() |
int |
readUnsignedByte() |
int |
readUnsignedShort() |
java.lang.String |
readUTF() |
long |
skip(long n) |
int |
skipBytes(int len) |
public static final NullObjectInputStream INSTANCE
protected NullObjectInputStream()
throws java.io.IOException
java.io.IOExceptionpublic void defaultReadObject()
defaultReadObject in class java.io.ObjectInputStreampublic java.lang.Object readUnshared()
throws java.io.IOException
readUnshared in class java.io.ObjectInputStreamjava.io.IOExceptionpublic java.io.ObjectInputStream.GetField readFields()
throws java.io.IOException
readFields in class java.io.ObjectInputStreamjava.io.IOExceptionprotected void readStreamHeader()
throws java.io.IOException
readStreamHeader in class java.io.ObjectInputStreamjava.io.IOExceptionprotected java.io.ObjectStreamClass readClassDescriptor()
throws java.io.IOException
readClassDescriptor in class java.io.ObjectInputStreamjava.io.IOExceptionpublic int read()
throws java.io.IOException
read in interface java.io.ObjectInputread in class java.io.ObjectInputStreamjava.io.IOExceptionpublic int read(byte[] buf,
int off,
int len)
throws java.io.IOException
read in interface java.io.ObjectInputread in class java.io.ObjectInputStreamjava.io.IOExceptionpublic int available()
available in interface java.io.ObjectInputavailable in class java.io.ObjectInputStreampublic void close()
close in interface java.io.Closeableclose in interface java.io.ObjectInputclose in interface java.lang.AutoCloseableclose in class java.io.ObjectInputStreampublic boolean readBoolean()
throws java.io.IOException
readBoolean in interface java.io.DataInputreadBoolean in class java.io.ObjectInputStreamjava.io.IOExceptionpublic byte readByte()
throws java.io.IOException
readByte in interface java.io.DataInputreadByte in class java.io.ObjectInputStreamjava.io.IOExceptionpublic int readUnsignedByte()
throws java.io.IOException
readUnsignedByte in interface java.io.DataInputreadUnsignedByte in class java.io.ObjectInputStreamjava.io.IOExceptionpublic char readChar()
throws java.io.IOException
readChar in interface java.io.DataInputreadChar in class java.io.ObjectInputStreamjava.io.IOExceptionpublic short readShort()
throws java.io.IOException
readShort in interface java.io.DataInputreadShort in class java.io.ObjectInputStreamjava.io.IOExceptionpublic int readUnsignedShort()
throws java.io.IOException
readUnsignedShort in interface java.io.DataInputreadUnsignedShort in class java.io.ObjectInputStreamjava.io.IOExceptionpublic int readInt()
throws java.io.IOException
readInt in interface java.io.DataInputreadInt in class java.io.ObjectInputStreamjava.io.IOExceptionpublic long readLong()
throws java.io.IOException
readLong in interface java.io.DataInputreadLong in class java.io.ObjectInputStreamjava.io.IOExceptionpublic float readFloat()
throws java.io.IOException
readFloat in interface java.io.DataInputreadFloat in class java.io.ObjectInputStreamjava.io.IOExceptionpublic double readDouble()
throws java.io.IOException
readDouble in interface java.io.DataInputreadDouble in class java.io.ObjectInputStreamjava.io.IOExceptionpublic void readFully(byte[] buf)
throws java.io.IOException
readFully in interface java.io.DataInputreadFully in class java.io.ObjectInputStreamjava.io.IOExceptionpublic void readFully(byte[] buf,
int off,
int len)
throws java.io.IOException
readFully in interface java.io.DataInputreadFully in class java.io.ObjectInputStreamjava.io.IOExceptionpublic int skipBytes(int len)
throws java.io.IOException
skipBytes in interface java.io.DataInputskipBytes in class java.io.ObjectInputStreamjava.io.IOExceptionpublic java.lang.String readLine()
throws java.io.IOException
readLine in interface java.io.DataInputreadLine in class java.io.ObjectInputStreamjava.io.IOExceptionpublic java.lang.String readUTF()
throws java.io.IOException
readUTF in interface java.io.DataInputreadUTF in class java.io.ObjectInputStreamjava.io.IOExceptionpublic int read(byte[] b)
throws java.io.IOException
read in interface java.io.ObjectInputread in class java.io.InputStreamjava.io.IOExceptionpublic long skip(long n)
throws java.io.IOException
skip in interface java.io.ObjectInputskip in class java.io.InputStreamjava.io.IOException