Lines Matching refs: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.*;
39 protected final UnixPath file;
42 Basic(UnixPath file, boolean followLinks) {
43 this.file = file;
49 file.checkRead();
52 UnixFileAttributes.get(file, followLinks);
55 x.rethrowAsIOException(file);
72 file.checkWrite();
74 int fd = file.openForAttributeAccess(followLinks);
85 x.rethrowAsIOException(file);
103 x.rethrowAsIOException(file);
112 x.rethrowAsIOException(file);
130 Posix(UnixPath file, boolean followLinks) {
131 super(file, followLinks);
137 file.checkRead();
145 file.checkWrite();
206 return UnixFileAttributes.get(file, followLinks);
208 x.rethrowAsIOException(file);
218 chmod(file, mode);
220 int fd = file.openForAttributeAccess(false);
228 x.rethrowAsIOException(file);
237 chown(file, uid, gid);
239 lchown(file, uid, gid);
242 x.rethrowAsIOException(file);
301 Unix(UnixPath file, boolean followLinks) {
302 super(file, followLinks);
357 static Basic createBasicView(UnixPath file, boolean followLinks) {
358 return new Basic(file, followLinks);
361 static Posix createPosixView(UnixPath file, boolean followLinks) {
362 return new Posix(file, followLinks);
365 static Unix createUnixView(UnixPath file, boolean followLinks) {
366 return new Unix(file, followLinks);
369 static FileOwnerAttributeViewImpl createOwnerView(UnixPath file, boolean followLinks) {
370 return new FileOwnerAttributeViewImpl(createPosixView(file, followLinks));