|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TreeWriter
An interface for exporting a control flow tree to various output formats.
Method Summary | |
---|---|
void |
setShowInstructions(boolean showInstructions)
Tells whether the string representations of the nodes should include a list of the node's bytecode instructions. |
void |
write()
Prints the control flow tree to standard output ( System.out ). |
void |
write(String filename)
Exports the control flow tree to the specified file. |
void |
write(Writer out)
Exports the control flow tree to the specified output stream. |
Method Detail |
---|
void setShowInstructions(boolean showInstructions)
showInstructions
- true if instructions should be displayed; false otherwisevoid write()
System.out
).
void write(String filename) throws IOException
filename
- the name of a file in which to save the tree
IOException
- if the tree cannot be written to diskvoid write(Writer out) throws IOException
out
- an output stream in which to save the tree
IOException
- if the tree cannot be written to the stream
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |