Lines Matching defs:file
8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
14 * version 2 for more details (a copy is included in the LICENSE file that
28 import java.nio.file.*;
29 import java.nio.file.attribute.*;
43 // original path of file that identified file system
44 private final UnixPath file;
52 // return the device ID where the given file resides
53 private static long devFor(UnixPath file) throws IOException {
55 return UnixFileAttributes.get(file, true).dev();
57 x.rethrowAsIOException(file);
62 UnixFileStore(UnixPath file) throws IOException {
63 this.file = file;
64 this.dev = devFor(file);
69 this.file = new UnixPath(fs, entry.dir());
70 this.dev = (entry.dev() == 0L) ? devFor(this.file) : entry.dev();
75 * Find the mount entry for the file store
79 UnixPath file() {
80 return file;
106 // uses statvfs to read the file system information
109 return UnixFileStoreAttributes.get(file);
111 x.rethrowAsIOException(file);
218 * Returns status to indicate if file system supports a given feature
256 Path file = Paths.get(fstypes);
258 try (ReadableByteChannel rbc = Files.newByteChannel(file)) {