|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.go.trove.log.FileLogStreamFactory
Opens up files to be used by an IntervalLogStream.
| Constructor Summary | |
FileLogStreamFactory(java.io.File directory,
java.text.DateFormat format,
java.lang.String extension)
Creates log files in the given directory. |
|
| Method Summary | |
java.io.OutputStream |
openOutputStream(java.util.Date date)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FileLogStreamFactory(java.io.File directory,
java.text.DateFormat format,
java.lang.String extension)
directory - Directory to create log files in.format - DateFormat to use for creating new file names.extension - Extension to put at the end of new file name.| Method Detail |
public java.io.OutputStream openOutputStream(java.util.Date date)
throws java.io.IOException
openOutputStream in interface IntervalLogStream.Factory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||