|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectCH.ifa.draw.util.StorableInput
public class StorableInput
An input stream that can be used to resurrect Storable objects. StorableInput preserves the object identity of the stored objects.
Storable
,
StorableOutput
Constructor Summary | |
---|---|
StorableInput(java.io.InputStream stream)
Initializes a Storable input with the given input stream. |
Method Summary | |
---|---|
boolean |
readBoolean()
Reads a boolean from the input stream. |
java.awt.Color |
readColor()
Reads a color from the input stream. |
double |
readDouble()
Reads a double from the input stream. |
int |
readInt()
Reads an int from the input stream. |
Storable |
readStorable()
Reads and resurrects a Storable object from the input stream. |
java.lang.String |
readString()
Reads a string from the input stream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StorableInput(java.io.InputStream stream)
Method Detail |
---|
public Storable readStorable() throws java.io.IOException
java.io.IOException
public java.lang.String readString() throws java.io.IOException
java.io.IOException
public int readInt() throws java.io.IOException
java.io.IOException
public java.awt.Color readColor() throws java.io.IOException
java.io.IOException
public double readDouble() throws java.io.IOException
java.io.IOException
public boolean readBoolean() throws java.io.IOException
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |