public class SynchronizedOutFile extends Object
| Constructor and Description |
|---|
SynchronizedOutFile(File f)
create a thread safe wrapper for working with this file
|
SynchronizedOutFile(File f,
boolean gzipCompress)
Create a thread safe wrapper for writing to this file, the file will be gzip compressed.
|
public SynchronizedOutFile(File f, boolean gzipCompress) throws FileNotFoundException, IOException
f - file to write togzipCompress - flag if file should be gzip compressedFileNotFoundExceptionIOExceptionpublic SynchronizedOutFile(File f) throws FileNotFoundException, IOException
f - FileNotFoundExceptionIOExceptionpublic void write(String message) throws IOException
IOExceptionpublic void flush() throws IOException
IOExceptionpublic void close() throws IOException
IOExceptionCopyright © 2000–2018 BioJava. All rights reserved.