|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectth.co.edge.jseq.TextDiagram
public class TextDiagram
A TextDiagram
that can be fully defined by a string, for
example using XML.
Constructor Summary | |
---|---|
TextDiagram(java.lang.String text)
Creates a new TextDiagram defined by the given string. |
Method Summary | |
---|---|
void |
save(java.io.File file)
Writes this TextDiagram to file using a
Writer so as to support different character encodings. |
java.lang.String |
toString()
Returns the string defining this TextDiagram . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TextDiagram(java.lang.String text)
TextDiagram
defined by the given string.
text
- the string defining this TextDiagram
Method Detail |
---|
public void save(java.io.File file) throws java.io.IOException
TextDiagram
to file using a
Writer
so as to support different character encodings.
save
in interface Diagram
file
- the File
to write to
java.io.IOException
- if the diagram could not be savedpublic java.lang.String toString()
TextDiagram
.
toString
in interface Diagram
toString
in class java.lang.Object
TextDiagram
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |