org.productivity.java.syslog4j
Class SyslogMain

java.lang.Object
  extended by org.productivity.java.syslog4j.SyslogMain

public class SyslogMain
extends java.lang.Object

This class provides a command-line interface for Syslog4j server implementations.

Syslog4j is licensed under the Lesser GNU Public License v2.1. A copy of the LGPL license is available in the META-INF folder in all distributions of Syslog4j and in the base directory of the "doc" ZIP.

Version:
$Id: SyslogMain.java,v 1.4 2010/11/28 01:38:08 cvs Exp $
Author:
<syslog4j@productivity.org>

Nested Class Summary
static class SyslogMain.Options
           
 
Field Summary
static boolean CALL_SYSTEM_EXIT_ON_FAILURE
           
 
Constructor Summary
SyslogMain()
           
 
Method Summary
static void main(java.lang.String[] args)
           
static void main(java.lang.String[] args, boolean shutdown)
           
static SyslogMain.Options parseOptions(java.lang.String[] args)
           
static void usage(java.lang.String problem)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CALL_SYSTEM_EXIT_ON_FAILURE

public static boolean CALL_SYSTEM_EXIT_ON_FAILURE
Constructor Detail

SyslogMain

public SyslogMain()
Method Detail

usage

public static void usage(java.lang.String problem)

parseOptions

public static SyslogMain.Options parseOptions(java.lang.String[] args)

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception

main

public static void main(java.lang.String[] args,
                        boolean shutdown)
                 throws java.lang.Exception
Throws:
java.lang.Exception