Functional I/O for Java and Scala
Fun I/O provides functional programming patterns and high level abstractions for simple and reusable synchronous I/O. Fun I/O supports Java 8 or later and Scala 2.10, 2.11, 2.12 and 2.13 equally well via dedicated APIs and is covered by the Apache License, version 2.0.
Fun I/O composes the low level classes
OutputStream et al into powerful, high level abstractions
Filter et al.
These abstractions are:
Fun I/O takes proper care of resource management: All created
OutputStream instances are properly
closed, even if there is an exception in a nested constructor.
Say goodbye to resource leaks and try-with-resources statements!