} } catch (IOException ioe) { // handling code } finally { br.close(); } with the code
for (String line : new LineReader(file) { // work }
This class with automatically close the stream up on finishing or upon error. All {@link IOException} instances are rethrown as {@link IOError}.
@author David Jurgens
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.