Home | History | Annotate | Download | only in util

Lines Matching refs:File

3  * or more contributor license agreements.  See the NOTICE file *

5 * regarding copyright ownership. The ASF licenses this file *
7 * "License"); you may not use this file except in compliance *
24 import java.io.File;
61 File p = null;
65 p = new File(parent.getAbsolutePath(), prefix + n);
88 File f = null;
94 f = new File(parent.getAbsolutePath(), prefix + n + suffix);
99 throw new IOException("Creating temp file failed: "
100 + "Unable to find unique file name");
122 private File path = null;
125 this.path = new File(path);
128 private SimpleTempPath(File path) {
188 private File file = null;
190 private SimpleTempFile(File file) {
191 this.file = file;
192 this.file.deleteOnExit();
199 return new BufferedInputStream(new FileInputStream(file));
206 return new BufferedOutputStream(new FileOutputStream(file));
213 return file.getAbsolutePath();
234 return file.length();