|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectformatter.Main
public class Main
Serves as a tester class to be executed on the CLI. Currently supports the following flags:
--trillian-deadaim to test the conversion from Trillian
text format to DeadAIM HTML format. This requires two additional arguments:
The relative name of the Trillian input file (e.g. in/TrillEx.txt)
and the output directory (e.g. out/)--read-deadaim to test the DeadAIM HTML read capability.
This requires one additional argument: the name of the input file.
| Constructor Summary | |
|---|---|
Main()
|
|
| Method Summary | |
|---|---|
static void |
main(java.lang.String[] args)
Evaluate the argument(s) and proceed accordingly. |
static void |
runGUI()
Creates and runs a new GUI. |
static void |
testDeadAim(java.lang.String[] args)
An example of how to read a DeadAIM file. |
static void |
tril2Daim(java.lang.String[] args)
An example of how to read from a Trillian log file using the TrillianReader and using the generated session date to write to a file in DeadAIM log format using the DeadAIMwriter class. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Main()
| Method Detail |
|---|
public static void main(java.lang.String[] args)
public static void testDeadAim(java.lang.String[] args)
public static void tril2Daim(java.lang.String[] args)
args - The command line arguments. This assumes that args[1]
is the name of the file to read from and args[2] is
the directory to write to. Further, it assumes that
args[1] is in Trillian log format.
java.lang.IllegalArgumentException - If there are not exactly 3 arguments.public static void runGUI()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||