Class DeferredFileOutputStream.Builder

All Implemented Interfaces:
IOSupplier<DeferredFileOutputStream>
Enclosing class:
DeferredFileOutputStream

Builds a new DeferredFileOutputStream.

For example:


 DeferredFileOutputStream s = DeferredFileOutputStream.builder()
   .setBufferSize(4096)
   .setDirectory(dir)
   .setOutputFile(outputFile)
   .setPrefix(prefix)
   .setSuffix(suffix)
   .setThreshold(threshold)
   .get();
 

The only super's aspect used is buffer size.

Since:
2.12.0
See Also: