com.go.trove.log
Class DailyLogStream

java.lang.Object
  |
  +--java.io.OutputStream
        |
        +--com.go.trove.log.IntervalLogStream
              |
              +--com.go.trove.log.DailyLogStream
Direct Known Subclasses:
DailyFileLogStream

public class DailyLogStream
extends IntervalLogStream

An implementation of the IntervalLogStream with an interval of one day.

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

Inner classes inherited from class com.go.trove.log.IntervalLogStream
IntervalLogStream.Factory
 
Constructor Summary
DailyLogStream(IntervalLogStream.Factory factory)
           
 
Method Summary
protected  void moveToIntervalStart(java.util.Calendar cal)
          Moves calendar to beginning of day.
protected  void moveToNextIntervalStart(java.util.Calendar cal)
          Moves calendar to beginning of next day.
 
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
 

Constructor Detail

DailyLogStream

public DailyLogStream(IntervalLogStream.Factory factory)
Method Detail

moveToIntervalStart

protected void moveToIntervalStart(java.util.Calendar cal)
Moves calendar to beginning of day.
Overrides:
moveToIntervalStart in class IntervalLogStream

moveToNextIntervalStart

protected void moveToNextIntervalStart(java.util.Calendar cal)
Moves calendar to beginning of next day.
Overrides:
moveToNextIntervalStart in class IntervalLogStream