|
jET |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.jet.sce.EditorKit
Scenery editor kit is a place where some useful utilities are stored.
Nested Class Summary | |
static class |
EditorKit.SceneryException
The exception when scenery file is corrupted. |
Constructor Summary | |
EditorKit()
|
Method Summary | |
Scenery |
createDefaultScenery()
Creates default scenery. |
void |
printSwitch(java.io.PrintWriter pOut,
Switch sw)
Prints switch. |
void |
read(java.io.InputStream in,
Scenery sc)
Reads input stream which is expected to be a scenery. |
void |
read(java.io.Reader rin,
Scenery sc)
Reads reader which is expected to be content for scenery. |
void |
write(java.io.OutputStream out,
Scenery sc)
Writes scenery to the output stream. |
void |
write(java.io.Writer out,
Scenery sc)
Writes scenery to the writer. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EditorKit()
Method Detail |
public void read(java.io.InputStream in, Scenery sc) throws java.io.IOException
in
- The stream to read.sc
- The scenery to write to.
java.io.IOException
- When some errors occured.public void read(java.io.Reader rin, Scenery sc) throws java.io.IOException
rin
- The reader to read.sc
- The scenery to write to.
java.io.IOException
- When some errors occured.public void write(java.io.OutputStream out, Scenery sc) throws java.io.IOException
out
- The output stream.sc
- Scenery to write.
java.io.IOException
- Thrown when some I/O errors ocuured.public void write(java.io.Writer out, Scenery sc) throws java.io.IOException
out
- The output stream.sc
- Scenery to write.
java.io.IOException
- Thrown when some I/O errors occured.public void printSwitch(java.io.PrintWriter pOut, Switch sw)
public Scenery createDefaultScenery()
|
jET |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |