|
|||||||||
| Home >> All >> marauroa >> [ net overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
marauroa.net
Class InputSerializer

java.lang.Objectmarauroa.net.InputSerializer
- public class InputSerializer
- extends java.lang.Object
InputSerializer is used to serialize classes that implement the Serializable interface from a InputStream.
| Field Summary | |
private java.io.InputStream |
in
|
| Constructor Summary | |
InputSerializer(java.io.InputStream in)
Constructor that pass the InputStream to the serializer |
|
| Method Summary | |
byte |
readByte()
This method read a byte from the Serializer |
byte[] |
readByteArray()
This method read a byte array from the Serializer |
int |
readInt()
This method read a int from the Serializer |
java.lang.Object |
readObject(Serializable obj)
This method serialize an object that implements the interface Serializable allowing to implement this behaviour in several classes |
short |
readShort()
This method read a short from the Serializer |
java.lang.String |
readString()
This method read a String from the Serializer |
java.lang.String[] |
readStringArray()
This method read a String array from the Serializer |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
in
private java.io.InputStream in
| Constructor Detail |
InputSerializer
public InputSerializer(java.io.InputStream in)
- Constructor that pass the InputStream to the serializer
| Method Detail |
readObject
public java.lang.Object readObject(Serializable obj) throws java.io.IOException, java.lang.ClassNotFoundException
- This method serialize an object that implements the interface Serializable
allowing to implement this behaviour in several classes
readByte
public byte readByte()
throws java.io.IOException,
java.lang.ClassNotFoundException
- This method read a byte from the Serializer
readByteArray
public byte[] readByteArray()
throws java.io.IOException,
java.lang.ClassNotFoundException
- This method read a byte array from the Serializer
readShort
public short readShort()
throws java.io.IOException,
java.lang.ClassNotFoundException
- This method read a short from the Serializer
readInt
public int readInt()
throws java.io.IOException,
java.lang.ClassNotFoundException
- This method read a int from the Serializer
readString
public java.lang.String readString() throws java.io.IOException, java.lang.ClassNotFoundException, java.io.UnsupportedEncodingException
- This method read a String from the Serializer
readStringArray
public java.lang.String[] readStringArray() throws java.io.IOException, java.lang.ClassNotFoundException
- This method read a String array from the Serializer
|
|||||||||
| Home >> All >> marauroa >> [ net overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
marauroa.net.InputSerializer