formatter
Class Main

java.lang.Object
  extended by formatter.Main

public class Main
extends java.lang.Object

Serves as a tester class to be executed on the CLI. Currently supports the following flags:


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

Main

public Main()
Method Detail

main

public static void main(java.lang.String[] args)
Evaluate the argument(s) and proceed accordingly.


testDeadAim

public static void testDeadAim(java.lang.String[] args)
An example of how to read a DeadAIM file.


tril2Daim

public 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.

Parameters:
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.
Throws:
java.lang.IllegalArgumentException - If there are not exactly 3 arguments.

runGUI

public static void runGUI()
Creates and runs a new GUI.