|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.axis2.context.externalize.SafeObjectInputStream
public class SafeObjectInputStream
A SafeObjectInputStream reads data that was written by SafeObjectOutputStream
SafeObjectInput
Field Summary |
---|
Method Summary | |
---|---|
int |
available()
|
void |
close()
|
static SafeObjectInputStream |
install(ObjectInput in)
Add the SafeObjectInputStream if necessary |
int |
read()
|
int |
read(byte[] b)
|
int |
read(byte[] b,
int off,
int len)
|
ArrayList |
readArrayList()
Read the input stream and place objects in an ArrayList |
boolean |
readBoolean()
|
byte |
readByte()
|
char |
readChar()
|
double |
readDouble()
|
float |
readFloat()
|
void |
readFully(byte[] b)
|
void |
readFully(byte[] b,
int off,
int len)
|
HashMap |
readHashMap()
Read the input stream and place the key/value pairs in a hashmap |
int |
readInt()
|
String |
readLine()
|
LinkedList |
readLinkedList()
Read the input stream and place objects in a LinkedList |
List |
readList(List list)
Read hte input stream and place objects in the specified List |
long |
readLong()
|
Map |
readMap(Map map)
Read the input stream and place the key/value pairs in the indicated Map |
Object |
readObject()
|
short |
readShort()
|
int |
readUnsignedByte()
|
int |
readUnsignedShort()
|
String |
readUTF()
|
long |
skip(long n)
|
int |
skipBytes(int n)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static SafeObjectInputStream install(ObjectInput in)
in
-
public int available() throws IOException
available
in interface ObjectInput
IOException
public void close() throws IOException
close
in interface ObjectInput
IOException
public int read() throws IOException
read
in interface ObjectInput
IOException
public int read(byte[] b, int off, int len) throws IOException
read
in interface ObjectInput
IOException
public int read(byte[] b) throws IOException
read
in interface ObjectInput
IOException
public boolean readBoolean() throws IOException
readBoolean
in interface DataInput
IOException
public byte readByte() throws IOException
readByte
in interface DataInput
IOException
public char readChar() throws IOException
readChar
in interface DataInput
IOException
public double readDouble() throws IOException
readDouble
in interface DataInput
IOException
public float readFloat() throws IOException
readFloat
in interface DataInput
IOException
public void readFully(byte[] b, int off, int len) throws IOException
readFully
in interface DataInput
IOException
public void readFully(byte[] b) throws IOException
readFully
in interface DataInput
IOException
public int readInt() throws IOException
readInt
in interface DataInput
IOException
public String readLine() throws IOException
readLine
in interface DataInput
IOException
public long readLong() throws IOException
readLong
in interface DataInput
IOException
public Object readObject() throws ClassNotFoundException, IOException
readObject
in interface ObjectInput
ClassNotFoundException
IOException
public short readShort() throws IOException
readShort
in interface DataInput
IOException
public int readUnsignedByte() throws IOException
readUnsignedByte
in interface DataInput
IOException
public int readUnsignedShort() throws IOException
readUnsignedShort
in interface DataInput
IOException
public String readUTF() throws IOException
readUTF
in interface DataInput
IOException
public long skip(long n) throws IOException
skip
in interface ObjectInput
IOException
public int skipBytes(int n) throws IOException
skipBytes
in interface DataInput
IOException
public HashMap readHashMap() throws IOException
IOException
SafeObjectOutputStream.writeMap()
public Map readMap(Map map) throws IOException
map
- input map
IOException
SafeObjectOutputStream.writeMap()
public ArrayList readArrayList() throws IOException
IOException
SafeObjectInputStream.writeList()
public LinkedList readLinkedList() throws IOException
IOException
SafeObjectInputStream.writeList()
public List readList(List list) throws IOException
list
- List
IOException
SafeObjectInputStream.writeList()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |