|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.egothor.util.Reporter
public class Reporter
This class writes some lines of text into a file, rotates after every N reports and NEVER overwrites an older report file.
Constructor Summary | |
---|---|
Reporter(boolean gzipped,
java.lang.String filename,
int chunk_len)
Creates a new instance of Reporter. |
Method Summary | |
---|---|
void |
close()
|
void |
EOT()
|
DataOutput |
os()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Reporter(boolean gzipped, java.lang.String filename, int chunk_len)
filename-chunk.{gz|rep}
Rep-files are not gzipped.
gzipped
- whether the product will be a gzipped filefilename
- the base filenamechunk_len
- how many items in a chunk, non-positive value means unlimitedEOT()
Method Detail |
---|
public final DataOutput os()
public void EOT()
public void close()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |