Class ValidatingObjectInputStream.Builder

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

Builds a new ValidatingObjectInputStream.

Using NIO


 ValidatingObjectInputStream s = ValidatingObjectInputStream.builder()
   .setPath(Paths.get("MyFile.ser"))
   .get();
 

Using IO


 ValidatingObjectInputStream s = ValidatingObjectInputStream.builder()
   .setFile(new File("MyFile.ser"))
   .get();
 
Since:
2.18.0
See Also: