/** * Reads a text file as a string. * * @param filename The name of the file. * * @return The contents of the file. */ public static String readFileAsString(String filename) { return new String(readFileAsBytes(filename)); }
/** * Reads a text file as a string. * * @param filename The name of the file. * * @return The contents of the file. */ public static String readFileAsString(String filename) { return new String(readFileAsBytes(filename)); }