Read a file in just one line with Java

Something I never really liked in Java was the excessive amount of code to just read a file, but finally, starting from Java 1.7 version, there is the following way to do it ...

January 13, 2013 · 1 min · Carlo Lobrano