Lines Matching refs:filename
147 private boolean validateAndCreateFile (String filename) in validateAndCreateFile() argument
149 if (filename == null) return false; in validateAndCreateFile()
153 f = new File(filename); in validateAndCreateFile()
155 System.out.println("Could not create a File object for file " + filename); in validateAndCreateFile()
161 String newFile = filename + ".bak"; in validateAndCreateFile()
183 System.out.println("Could not rename " + filename + " to " + newFile ); in validateAndCreateFile()
197 System.out.println("Could not create " + filename + " Check permissions.."); in validateAndCreateFile()
222 private boolean checkFile(String filename) in checkFile() argument
224 if (filename == null) return false; in checkFile()
228 f = new File(filename); in checkFile()
230 System.out.println("Could not create a File object for file " + filename); in checkFile()
236 System.out.println("File " + filename + " does not exist... "); in checkFile()
242 System.out.println("Cannot read file " + filename); in checkFile()