|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.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.ObjectInputStreamjava.io.IOException
java.lang.ClassNotFoundExceptionObjectInputStream.readObjectOverride()
public void defaultReadObject()
throws java.io.IOException,
java.lang.ClassNotFoundException
defaultReadObject in class java.io.ObjectInputStreamjava.io.IOException
java.lang.ClassNotFoundExceptionObjectInputStream.defaultReadObject()
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.io.ObjectInputclose in class java.io.ObjectInputStreamjava.io.IOExceptionObjectInputStream.close()
public boolean readBoolean()
throws java.io.IOException
readBoolean in interface java.io.DataInputreadBoolean in class java.io.ObjectInputStreamjava.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.DataInputreadByte in class java.io.ObjectInputStreamjava.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.DataInputreadUnsignedByte in class java.io.ObjectInputStreamjava.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.DataInputreadChar in class java.io.ObjectInputStreamjava.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.DataInputreadShort in class java.io.ObjectInputStreamjava.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.DataInputreadUnsignedShort in class java.io.ObjectInputStreamjava.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.DataInputreadInt in class java.io.ObjectInputStreamjava.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.DataInputreadLong in class java.io.ObjectInputStreamjava.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.DataInputreadFloat in class java.io.ObjectInputStreamjava.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.DataInputreadDouble in class java.io.ObjectInputStreamjava.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.DataInputreadFully in class java.io.ObjectInputStreambuf - 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.DataInputreadFully in class java.io.ObjectInputStreambuf - 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.DataInputreadUTF in class java.io.ObjectInputStreamjava.io.IOExceptionObjectInputStream.readUTF()
public int read()
throws java.io.IOException
read in interface java.io.ObjectInputread in class java.io.ObjectInputStreamjava.io.IOExceptionObjectInputStream.read()
public int read(byte[] b)
throws java.io.IOException
read in interface java.io.ObjectInputread in class java.io.InputStreamjava.io.IOExceptionInputStream.read(byte[])
public int read(byte[] buf,
int off,
int len)
throws java.io.IOException
read in interface java.io.ObjectInputread in class java.io.ObjectInputStreamjava.io.IOExceptionObjectInputStream.read(byte[], int, int)
public java.io.ObjectInputStream.GetField readFields()
throws java.io.IOException,
java.lang.ClassNotFoundException
readFields in class java.io.ObjectInputStreamjava.io.IOException
java.lang.ClassNotFoundExceptionObjectInputStream.readFields()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||