Package org.jumpmind.symmetric.io
Class FirstUseFileOutputStream
java.lang.Object
java.io.OutputStream
org.jumpmind.symmetric.io.FirstUseFileOutputStream
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
A FileOutputStream that delays creating the physical file until the first write operation, to avoid empty files.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.OutputStream
close, flush, nullOutputStream, write, write
-
Constructor Details
-
FirstUseFileOutputStream
-
-
Method Details
-
write
- Specified by:
write
in classOutputStream
- Throws:
IOException
-