Lines Matching full:file
5 * you may not use this file except in compliance with the License.
21 * File utility methods.
26 * Reads file into a string using default encoding.
28 static String toString(File file) throws IOException {
31 Reader in = new FileReader(file);
41 * Writes a string to a file using default encoding.
43 static void toFile(String contents, File file) throws IOException {
44 FileWriter out = new FileWriter(file);