com.go.trove.log
Class HourlyFileLogStream

java.lang.Object
  |
  +--java.io.OutputStream
        |
        +--com.go.trove.log.IntervalLogStream
              |
              +--com.go.trove.log.HourlyLogStream
                    |
                    +--com.go.trove.log.HourlyFileLogStream

public class HourlyFileLogStream
extends HourlyLogStream

Complete hourly file logging stream. Outputs to files created by FileLogStreamFactory.

Version:
11 , 9/07/00
Author:
Brian S O'Neill

Inner classes inherited from class com.go.trove.log.IntervalLogStream
IntervalLogStream.Factory
 
Field Summary
static java.lang.String DEFAULT_EXTENSION
          Default extension is ".log"
static java.text.DateFormat DEFAULT_FORMAT
          Default format is "yyyyMMdd-HH"
 
Constructor Summary
HourlyFileLogStream(java.io.File directory)
           
HourlyFileLogStream(java.io.File directory, java.text.DateFormat format)
           
HourlyFileLogStream(java.io.File directory, java.text.DateFormat format, java.lang.String extension)
           
 
Methods inherited from class com.go.trove.log.HourlyLogStream
moveToIntervalStart, moveToNextIntervalStart
 
Methods inherited from class com.go.trove.log.IntervalLogStream
close, finalize, flush, startAutoRollover, stopAutoRollover, write, write, write
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_FORMAT

public static final java.text.DateFormat DEFAULT_FORMAT
Default format is "yyyyMMdd-HH"

DEFAULT_EXTENSION

public static final java.lang.String DEFAULT_EXTENSION
Default extension is ".log"
Constructor Detail

HourlyFileLogStream

public HourlyFileLogStream(java.io.File directory)

HourlyFileLogStream

public HourlyFileLogStream(java.io.File directory,
                           java.text.DateFormat format)

HourlyFileLogStream

public HourlyFileLogStream(java.io.File directory,
                           java.text.DateFormat format,
                           java.lang.String extension)