Class FirstUseFileOutputStream

java.lang.Object
java.io.OutputStream
org.jumpmind.symmetric.io.FirstUseFileOutputStream
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

public class FirstUseFileOutputStream extends OutputStream
A FileOutputStream that delays creating the physical file until the first write operation, to avoid empty files.
  • Constructor Details

    • FirstUseFileOutputStream

      public FirstUseFileOutputStream(String fileName)
  • Method Details