|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.io.openmath.PrettyPrint
public class PrettyPrint
Pretty prints an OpenMath object.
| Constructor Summary | |
|---|---|
PrettyPrint()
|
|
| Method Summary | |
|---|---|
static void |
main(java.lang.String[] fArguments)
Invokes the pretty-printer stand-alone. |
void |
prettyPrint()
Validates the document. |
void |
setInputStream(java.io.InputStream input)
Sets the input-stream. |
void |
setOutputStream(java.io.OutputStream output)
Sets the output-stream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PrettyPrint()
| Method Detail |
|---|
public final void setOutputStream(java.io.OutputStream output)
output - set the output stream.public final void setInputStream(java.io.InputStream input)
input - set the input stream.
public void prettyPrint()
throws java.lang.Exception
java.lang.Exception - throw if we cannot pretty print the document for some
obscure reason.public static void main(java.lang.String[] fArguments)
fArguments - the arguments passed to the program.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||