infoservice.mailsystem.central
Class MailSystem

java.lang.Object
  extended by infoservice.mailsystem.central.MailSystem

public class MailSystem
extends java.lang.Object

This class is the main class for the JAP mail system. It parses the command-line options and initializes the system.


Field Summary
private static java.lang.String DEFAULT_CONFIG_FILE
          This is the default name and location of the mailsystem configuration file.
 
Constructor Summary
MailSystem()
           
 
Method Summary
static void main(java.lang.String[] a_args)
          The main method for the mailsystem.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_CONFIG_FILE

private static final java.lang.String DEFAULT_CONFIG_FILE
This is the default name and location of the mailsystem configuration file. We look in the current path for the "mailsystem.conf" file.

See Also:
Constant Field Values
Constructor Detail

MailSystem

public MailSystem()
Method Detail

main

public static void main(java.lang.String[] a_args)
                 throws java.lang.Exception
The main method for the mailsystem. The following command-line options are supported at the moment: -config FILENAME, which uses the specified filename as configuration file.

Parameters:
a_args - The command-line options.
Throws:
java.lang.Exception