public class Dumper extends Object
Constructor and Description |
---|
Dumper() |
Modifier and Type | Method and Description |
---|---|
static void |
dumpAll(PrintStream writer)
Prints all component hierarchy (GUI dump).
|
static void |
dumpAll(PrintStream writer,
DumpController listener) |
static void |
dumpAll(PrintWriter writer)
Prints all component hierarchy (GUI dump).
|
static void |
dumpAll(PrintWriter writer,
DumpController listener) |
static void |
dumpAll(String fileName)
Prints component hierarchy (GUI dump) into file.
|
static void |
dumpAll(String fileName,
DumpController listener) |
static void |
dumpComponent(Component comp,
PrintStream writer)
Prints component hierarchy (GUI dump).
|
static void |
dumpComponent(Component comp,
PrintStream writer,
DumpController listener) |
static void |
dumpComponent(Component comp,
PrintWriter writer) |
static void |
dumpComponent(Component comp,
PrintWriter writer,
DumpController listener)
Prints component hierarchy (GUI dump)
starting from
comp component. |
static void |
dumpComponent(Component comp,
String fileName)
Prints component hierarchy (GUI dump) into file.
|
static void |
dumpComponent(Component comp,
String fileName,
DumpController listener) |
static String |
escape(String str) |
static void |
printDTD(PrintStream writer)
Prints XML DTD information.
|
static void |
printDTD(PrintWriter writer)
Prints XML DTD information.
|
static void |
printDTD(String fileName)
Prints XML DTD information into file.
|
public static void printDTD(PrintWriter writer)
writer
- a writer to write to.public static void printDTD(PrintStream writer)
writer
- a stream to write to.public static void printDTD(String fileName) throws FileNotFoundException
fileName
- a file to write to.FileNotFoundException
public static void dumpComponent(Component comp, PrintWriter writer, DumpController listener)
comp
component.comp
- a component to get information from.writer
- a writer to write to.public static void dumpComponent(Component comp, PrintWriter writer)
public static void dumpComponent(Component comp, PrintStream writer)
comp
component.comp
- a component to get information from.writer
- a stream to write to.public static void dumpComponent(Component comp, PrintStream writer, DumpController listener)
public static void dumpComponent(Component comp, String fileName) throws FileNotFoundException
comp
- a component to get information from.fileName
- a file to write to.FileNotFoundException
public static void dumpComponent(Component comp, String fileName, DumpController listener) throws FileNotFoundException
FileNotFoundException
public static void dumpAll(PrintWriter writer)
writer
- a writer to write to.public static void dumpAll(PrintWriter writer, DumpController listener)
public static void dumpAll(PrintStream writer)
writer
- a stream to write to.public static void dumpAll(PrintStream writer, DumpController listener)
public static void dumpAll(String fileName) throws FileNotFoundException
fileName
- a file to write to.FileNotFoundException
public static void dumpAll(String fileName, DumpController listener) throws FileNotFoundException
FileNotFoundException