Class SynchronizedOutFile
java.lang.Object
org.biojava.nbio.structure.align.util.SynchronizedOutFile
-
Constructor Summary
ConstructorDescriptioncreate a thread safe wrapper for working with this fileSynchronizedOutFile
(File f, boolean gzipCompress) Create a thread safe wrapper for writing to this file, the file will be gzip compressed. -
Method Summary
-
Constructor Details
-
SynchronizedOutFile
Create a thread safe wrapper for writing to this file, the file will be gzip compressed.- Parameters:
f
- file to write togzipCompress
- flag if file should be gzip compressed- Throws:
FileNotFoundException
IOException
-
SynchronizedOutFile
create a thread safe wrapper for working with this file- Parameters:
f
-- Throws:
FileNotFoundException
IOException
-
-
Method Details
-
write
- Throws:
IOException
-
flush
- Throws:
IOException
-
close
- Throws:
IOException
-