|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.io.InputStream java.io.ObjectInputStream org.apache.wicket.util.io.WicketObjectInputStream
public final class WicketObjectInputStream
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.io.ObjectInputStream |
---|
java.io.ObjectInputStream.GetField |
Field Summary |
---|
Fields inherited from interface java.io.ObjectStreamConstants |
---|
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 |
Constructor Summary | |
---|---|
WicketObjectInputStream(java.io.InputStream in)
Construct. |
Method Summary | |
---|---|
void |
close()
|
void |
defaultReadObject()
|
int |
read()
|
int |
read(byte[] b)
|
int |
read(byte[] buf,
int off,
int len)
|
boolean |
readBoolean()
Reads in a boolean. |
byte |
readByte()
Reads an 8 bit byte. |
char |
readChar()
Reads a 16 bit char. |
double |
readDouble()
Reads a 64 bit double. |
java.io.ObjectInputStream.GetField |
readFields()
|
float |
readFloat()
Reads a 32 bit float. |
void |
readFully(byte[] buf)
Reads bytes, blocking until all bytes are read. |
void |
readFully(byte[] buf,
int off,
int len)
Reads bytes, blocking until all bytes are read. |
int |
readInt()
Reads a 32 bit int. |
long |
readLong()
Reads a 64 bit long. |
protected java.lang.Object |
readObjectOverride()
|
short |
readShort()
Reads a 16 bit short. |
int |
readUnsignedByte()
Reads an unsigned 8 bit byte. |
int |
readUnsignedShort()
Reads an unsigned 16 bit short. |
java.lang.String |
readUTF()
|
Methods inherited from class java.io.ObjectInputStream |
---|
available, enableResolveObject, readClassDescriptor, readLine, readObject, readStreamHeader, readUnshared, registerValidation, resolveClass, resolveObject, resolveProxyClass, skipBytes |
Methods inherited from class java.io.InputStream |
---|
mark, markSupported, reset, skip |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.io.ObjectInput |
---|
skip |
Constructor Detail |
---|
public WicketObjectInputStream(java.io.InputStream in) throws java.io.IOException
in
-
java.io.IOException
Method Detail |
---|
protected java.lang.Object readObjectOverride() throws java.io.IOException, java.lang.ClassNotFoundException
readObjectOverride
in class java.io.ObjectInputStream
java.io.IOException
java.lang.ClassNotFoundException
ObjectInputStream.readObjectOverride()
public void defaultReadObject() throws java.io.IOException, java.lang.ClassNotFoundException
defaultReadObject
in class java.io.ObjectInputStream
java.io.IOException
java.lang.ClassNotFoundException
ObjectInputStream.defaultReadObject()
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.io.ObjectInput
close
in class java.io.ObjectInputStream
java.io.IOException
ObjectInputStream.close()
public boolean readBoolean() throws java.io.IOException
readBoolean
in interface java.io.DataInput
readBoolean
in class java.io.ObjectInputStream
java.io.EOFException
- If end of file is reached.
java.io.IOException
- If other I/O error has occurred.public byte readByte() throws java.io.IOException
readByte
in interface java.io.DataInput
readByte
in class java.io.ObjectInputStream
java.io.EOFException
- If end of file is reached.
java.io.IOException
- If other I/O error has occurred.public int readUnsignedByte() throws java.io.IOException
readUnsignedByte
in interface java.io.DataInput
readUnsignedByte
in class java.io.ObjectInputStream
java.io.EOFException
- If end of file is reached.
java.io.IOException
- If other I/O error has occurred.public char readChar() throws java.io.IOException
readChar
in interface java.io.DataInput
readChar
in class java.io.ObjectInputStream
java.io.EOFException
- If end of file is reached.
java.io.IOException
- If other I/O error has occurred.public short readShort() throws java.io.IOException
readShort
in interface java.io.DataInput
readShort
in class java.io.ObjectInputStream
java.io.EOFException
- If end of file is reached.
java.io.IOException
- If other I/O error has occurred.public int readUnsignedShort() throws java.io.IOException
readUnsignedShort
in interface java.io.DataInput
readUnsignedShort
in class java.io.ObjectInputStream
java.io.EOFException
- If end of file is reached.
java.io.IOException
- If other I/O error has occurred.public int readInt() throws java.io.IOException
readInt
in interface java.io.DataInput
readInt
in class java.io.ObjectInputStream
java.io.EOFException
- If end of file is reached.
java.io.IOException
- If other I/O error has occurred.public long readLong() throws java.io.IOException
readLong
in interface java.io.DataInput
readLong
in class java.io.ObjectInputStream
java.io.EOFException
- If end of file is reached.
java.io.IOException
- If other I/O error has occurred.public float readFloat() throws java.io.IOException
readFloat
in interface java.io.DataInput
readFloat
in class java.io.ObjectInputStream
java.io.EOFException
- If end of file is reached.
java.io.IOException
- If other I/O error has occurred.public double readDouble() throws java.io.IOException
readDouble
in interface java.io.DataInput
readDouble
in class java.io.ObjectInputStream
java.io.EOFException
- If end of file is reached.
java.io.IOException
- If other I/O error has occurred.public void readFully(byte[] buf) throws java.io.IOException
readFully
in interface java.io.DataInput
readFully
in class java.io.ObjectInputStream
buf
- the buffer into which the data is read
java.io.EOFException
- If end of file is reached.
java.io.IOException
- If other I/O error has occurred.public void readFully(byte[] buf, int off, int len) throws java.io.IOException
readFully
in interface java.io.DataInput
readFully
in class java.io.ObjectInputStream
buf
- the buffer into which the data is readoff
- the start offset of the datalen
- the maximum number of bytes to read
java.io.EOFException
- If end of file is reached.
java.io.IOException
- If other I/O error has occurred.public java.lang.String readUTF() throws java.io.IOException
readUTF
in interface java.io.DataInput
readUTF
in class java.io.ObjectInputStream
java.io.IOException
ObjectInputStream.readUTF()
public int read() throws java.io.IOException
read
in interface java.io.ObjectInput
read
in class java.io.ObjectInputStream
java.io.IOException
ObjectInputStream.read()
public int read(byte[] b) throws java.io.IOException
read
in interface java.io.ObjectInput
read
in class java.io.InputStream
java.io.IOException
InputStream.read(byte[])
public int read(byte[] buf, int off, int len) throws java.io.IOException
read
in interface java.io.ObjectInput
read
in class java.io.ObjectInputStream
java.io.IOException
ObjectInputStream.read(byte[], int, int)
public java.io.ObjectInputStream.GetField readFields() throws java.io.IOException, java.lang.ClassNotFoundException
readFields
in class java.io.ObjectInputStream
java.io.IOException
java.lang.ClassNotFoundException
ObjectInputStream.readFields()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |