|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectCH.ifa.draw.util.StorableOutput
public class StorableOutput
An output stream that can be used to flatten Storable objects. StorableOutput preserves the object identity of the stored objects.
Storable,
StorableInput| Constructor Summary | |
|---|---|
StorableOutput(java.io.OutputStream stream)
Initializes the StorableOutput with the given output stream. |
|
| Method Summary | |
|---|---|
void |
close()
Closes a storable output stream. |
void |
writeBoolean(boolean b)
Writes an int to the output stream. |
void |
writeColor(java.awt.Color c)
|
void |
writeDouble(double d)
Writes an int to the output stream. |
void |
writeInt(int i)
Writes an int to the output stream. |
void |
writeStorable(Storable storable)
Writes a storable object to the output stream. |
void |
writeString(java.lang.String s)
Writes a string to the output stream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StorableOutput(java.io.OutputStream stream)
| Method Detail |
|---|
public void writeStorable(Storable storable)
public void writeInt(int i)
public void writeColor(java.awt.Color c)
public void writeDouble(double d)
public void writeBoolean(boolean b)
public void writeString(java.lang.String s)
public void close()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||