Class UnsynchronizedBufferedInputStream.Builder

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

Builds a new UnsynchronizedBufferedInputStream.

Using File IO:


 UnsynchronizedBufferedInputStream s = UnsynchronizedBufferedInputStream.builder()
   .setFile(file)
   .setBufferSize(8192)
   .get();
 

Using NIO Path:


 UnsynchronizedBufferedInputStream s = UnsynchronizedBufferedInputStream.builder()
   .setPath(path)
   .setBufferSize(8192)
   .get();
 
See Also: