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