Lines Matching refs:file
55 private byte[] readIntoByteArray(File file) throws IOException {
56 FileInputStream fis = new FileInputStream(file);
68 void convert(File file) throws IOException {
69 byte[] originalBytes = readIntoByteArray(file);
72 // System.out.println("Converting ["+file+"]");
73 writeConvertedBytesIntoFile(file, convertedBytes);
74 pl.onInplaceConversion(file);
76 // System.out.println("Not touching ["+file+"]");
80 private void writeConvertedBytesIntoFile(File file, byte[] convertedBytes) throws IOException {
81 FileOutputStream fos = new FileOutputStream(file);