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 compressedFileNotFoundException
IOException
public SynchronizedOutFile(File f) throws FileNotFoundException, IOException
f
- FileNotFoundException
IOException
public void write(String message) throws IOException
IOException
public void flush() throws IOException
IOException
public void close() throws IOException
IOException
Copyright © 2000–2018 BioJava. All rights reserved.