public class SynchronizedOutFile
extends java.lang.Object
| Constructor and Description |
|---|
SynchronizedOutFile(java.io.File f)
create a thread safe wrapper for working with this file
|
SynchronizedOutFile(java.io.File f,
boolean gzipCompress)
Create a thread safe wrapper for writing to this file, the file will be gzip compressed.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
void |
write(java.lang.String message) |
public SynchronizedOutFile(java.io.File f,
boolean gzipCompress)
throws java.io.FileNotFoundException,
java.io.IOException
f - file to write togzipCompress - flag if file should be gzip compressedjava.io.FileNotFoundExceptionjava.io.IOExceptionpublic SynchronizedOutFile(java.io.File f)
throws java.io.FileNotFoundException,
java.io.IOException
f - java.io.FileNotFoundExceptionjava.io.IOException