public class NullObjectInputStream extends ObjectInputStream
ObjectInputStream.GetField| 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 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 ObjectStreamClass |
readClassDescriptor() |
double |
readDouble() |
ObjectInputStream.GetField |
readFields() |
float |
readFloat() |
void |
readFully(byte[] buf) |
void |
readFully(byte[] buf,
int off,
int len) |
int |
readInt() |
String |
readLine() |
long |
readLong() |
short |
readShort() |
protected void |
readStreamHeader() |
Object |
readUnshared() |
int |
readUnsignedByte() |
int |
readUnsignedShort() |
String |
readUTF() |
long |
skip(long n) |
int |
skipBytes(int len) |
enableResolveObject, readObject, readObjectOverride, registerValidation, resolveClass, resolveObject, resolveProxyClassmark, markSupported, resetpublic static final NullObjectInputStream INSTANCE
public void defaultReadObject()
defaultReadObject in class ObjectInputStreampublic Object readUnshared() throws IOException
readUnshared in class ObjectInputStreamIOExceptionpublic ObjectInputStream.GetField readFields() throws IOException
readFields in class ObjectInputStreamIOExceptionprotected void readStreamHeader()
throws IOException
readStreamHeader in class ObjectInputStreamIOExceptionprotected ObjectStreamClass readClassDescriptor() throws IOException
readClassDescriptor in class ObjectInputStreamIOExceptionpublic 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()
available in interface ObjectInputavailable in class ObjectInputStreampublic void close()
close in interface Closeableclose in interface ObjectInputclose in interface AutoCloseableclose in class ObjectInputStreampublic 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 InputStreamIOExceptionCopyright © 2019. All rights reserved.