Class FlushShieldOutputStream.Builder

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

Builds a new FlushShieldOutputStream.

Using File IO:

FlushShieldOutputStream s = FlushShieldOutputStream.builder()
  .setPath("over/there.out")
  .setBufferSize(8192)
  .get();

Using NIO Path:

FlushShieldOutputStream s = FlushShieldOutputStream.builder()
  .setPath("over/there.out")
  .setBufferSize(8192)
  .get();

Since:
2.13.0
See Also: