| Modifier and Type | Class and Description |
|---|---|
| private class | |
| public static interface |
| Modifier and Type | Field and Description |
|---|---|
| private FastStack | |
| private final ClassLoaderReference | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public | CustomObjectInputStream(CustomObjectInputStream.
Warning, this object is expensive to create (due to functionality inherited from superclass). |
| public | CustomObjectInputStream(CustomObjectInputStream.
Deprecated
As of 1.4.5 use
CustomObjectInputStream(StreamCallback, ClassLoaderReference)
|
| Modifier and Type | Method and Description |
|---|---|
| public int | available()
Overrides java. Implements java. |
| public void | close()
Overrides java. Implements java. |
| public void | defaultReadObject()
Overrides java. |
| public static CustomObjectInputStream | getInstance(DataHolder whereFrom, CustomObjectInputStream.
Deprecated
As of 1.4 use
getInstance(DataHolder, StreamCallback, ClassLoader)
|
| public static synchronized CustomObjectInputStream | getInstance(DataHolder whereFrom, CustomObjectInputStream.
Deprecated
As of 1.4.5 use
getInstance(DataHolder, StreamCallback, ClassLoaderReference)
|
| public static synchronized CustomObjectInputStream | getInstance(DataHolder whereFrom, CustomObjectInputStream.
|
| public void | mark(int
the maximum limit of bytes that can be read before
the mark position becomes invalid. readlimit)Overrides java. |
| public boolean | markSupported()
Overrides java. mark and
reset methods.
|
| public CustomObjectInputStream. | |
| public CustomObjectInputStream. | |
| public void | pushCallback(CustomObjectInputStream.
Allows the CustomObjectInputStream (which is expensive to create) to be reused. |
| public int | read()
Overrides java. Implements java. |
| public int | read(byte[]
the buffer into which the data is read buf, int the start offset in the destination array off, int bufthe maximum number of bytes read len)Overrides java. Implements java. |
| public int | read(byte[]
the buffer into which the data is read b)Overrides java. Implements java. |
| public boolean | readBoolean()
Overrides java. Implements java. |
| public byte | readByte()
Overrides java. Implements java. |
| public char | readChar()
Overrides java. Implements java. |
| public double | readDouble()
Overrides java. Implements java. |
| public ObjectInputStream. | readFields()
Overrides java. |
| public float | readFloat()
Overrides java. Implements java. |
| public void | readFully(byte[]
the buffer into which the data is read buf)Overrides java. Implements java. |
| public void | readFully(byte[]
the buffer into which the data is read buf, int the start offset into the data array off, int bufthe maximum number of bytes to read len)Overrides java. Implements java. |
| public int | readInt()
Overrides java. Implements java. |
| public String | readLine()
Overrides java. Implements java. |
| public long | readLong()
Overrides java. Implements java. |
| protected Object | readObjectOverride()
Overrides java. |
| public short | readShort()
Overrides java. Implements java. |
| public Object | readUnshared()
Overrides java. |
| public int | readUnsignedByte()
Overrides java. Implements java. |
| public int | readUnsignedShort()
Overrides java. Implements java. |
| public String | readUTF()
Overrides java. Implements java. |
| public void | registerValidation(ObjectInputValidation
the object to receive the validation callback. validation, int controls the order of callbacks; zero is a good default.
Use higher numbers to be called back earlier, lower numbers for
later callbacks. Within a priority, callbacks are processed in
no particular order. priority)Overrides java. |
| public void | reset()
Overrides java. mark method was last called on this input stream.
|
| protected Class | resolveClass(ObjectStreamClass
an instance of class desc)ObjectStreamClassOverrides java. |
| public long | skip(long
the number of bytes to be skipped n)Overrides java. Implements java. |
| public int | skipBytes(int
the number of bytes to be skipped len)Overrides java. Implements java. |