All Packages Class Hierarchy This Package Previous Next Index
Class CH.ifa.draw.util.StorableInput
java.lang.Object
|
+----CH.ifa.draw.util.StorableInput
- public class StorableInput
- extends Object
An input stream that can be used to resurrect Storable objects.
StorableInput preserves the object identity of the stored objects.
- See Also:
- Storable, StorableOutput
-
StorableInput(InputStream)
- Initializes a Storable input with the given input stream.
-
readBoolean()
- Reads a boolean from the input stream.
-
readColor()
- Reads a color from the input stream.
-
readDouble()
- Reads a double from the input stream.
-
readInt()
- Reads an int from the input stream.
-
readStorable()
- Reads and resurrects a Storable object from the input stream.
-
readString()
- Reads a string from the input stream.
StorableInput
public StorableInput(InputStream stream)
- Initializes a Storable input with the given input stream.
readStorable
public Storable readStorable() throws IOException
- Reads and resurrects a Storable object from the input stream.
readString
public String readString() throws IOException
- Reads a string from the input stream.
readInt
public int readInt() throws IOException
- Reads an int from the input stream.
readColor
public Color readColor() throws IOException
- Reads a color from the input stream.
readDouble
public double readDouble() throws IOException
- Reads a double from the input stream.
readBoolean
public boolean readBoolean() throws IOException
- Reads a boolean from the input stream.
All Packages Class Hierarchy This Package Previous Next Index