public static String readContent ( File file ) throws IOException { Reader input = null ; try { input = new FileReader ( file ) ; return readContent ( input ) ; } finally { closeQuietly ( input ) ; } }
Returns the content of a file as a String .