Lines Matching refs:candidate
344 File candidate = null;
347 candidate = new File(directory, filename + "-" + i + "."
350 if (candidate.createNewFile()) break;
353 + candidate.getAbsolutePath(), e);
357 if (!candidate.exists() || !candidate.isFile()) {
361 candidate.setReadable(true, false);
362 candidate.setWritable(true, false);
365 FileOutputStream fos = new FileOutputStream(candidate);
381 + candidate.getAbsolutePath(), e);
382 candidate.delete();
387 candidate.delete();
391 return candidate;