org.productivity.java.syslog4j.server.impl.event.printstream
Class FileSyslogServerEventHandler

java.lang.Object
  extended by org.productivity.java.syslog4j.server.impl.event.printstream.PrintStreamSyslogServerEventHandler
      extended by org.productivity.java.syslog4j.server.impl.event.printstream.FileSyslogServerEventHandler
All Implemented Interfaces:
java.io.Serializable, SyslogServerEventHandlerIF, SyslogServerSessionEventHandlerIF

public class FileSyslogServerEventHandler
extends PrintStreamSyslogServerEventHandler

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.productivity.java.syslog4j.server.impl.event.printstream.PrintStreamSyslogServerEventHandler
stream
 
Constructor Summary
FileSyslogServerEventHandler(java.lang.String fileName)
           
FileSyslogServerEventHandler(java.lang.String fileName, boolean append)
           
 
Method Summary
protected static java.io.PrintStream createPrintStream(java.lang.String fileName, boolean append)
           
 
Methods inherited from class org.productivity.java.syslog4j.server.impl.event.printstream.PrintStreamSyslogServerEventHandler
destroy, event, exception, initialize, sessionClosed, sessionOpened
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileSyslogServerEventHandler

public FileSyslogServerEventHandler(java.lang.String fileName)
                             throws java.io.IOException
Throws:
java.io.IOException

FileSyslogServerEventHandler

public FileSyslogServerEventHandler(java.lang.String fileName,
                                    boolean append)
                             throws java.io.IOException
Throws:
java.io.IOException
Method Detail

createPrintStream

protected static java.io.PrintStream createPrintStream(java.lang.String fileName,
                                                       boolean append)
                                                throws java.io.IOException
Throws:
java.io.IOException