Unfortunately, at the time of writing, consuming methods are the only way to ensure streams and file handles are closed properly. On some platforms (like Mac OS) not closing streams usually has a negligible effect, on other platforms (Win32) you might run into trouble overwriting files.
@since 1.0
@author Ralf Biedert
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.