jcontrol.system
Class Syslog

java.lang.Object
  extended by jcontrol.system.Syslog

public class Syslog
extends Object

JControl Syslog Implementation


Constructor Summary
Syslog()
           
 
Method Summary
static void add(String msg)
          append a syslog entry
static void clear()
          clear the syslog - all entries will be removed
static String get(int index)
          get syslog entry at position 'index'
static int size()
          get the count of syslog-entries - 0 if non exists (empty)
 
Methods inherited from class java.lang.Object
clone, equals, getClass, notifyAll, toString, wait
 

Constructor Detail

Syslog

public Syslog()
Method Detail

get

public static String get(int index)
                  throws IOException
get syslog entry at position 'index'

Parameters:
index -
Returns:
Throws:
IOException

add

public static void add(String msg)
                throws IOException
append a syslog entry

Parameters:
msg -
Throws:
IOException

clear

public static void clear()
                  throws IOException
clear the syslog - all entries will be removed

Throws:
IOException

size

public static int size()
                throws IOException
get the count of syslog-entries - 0 if non exists (empty)

Returns:
Throws:
IOException