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
26 package java.nio.file.attribute;
28 import java.nio.file.*;
33 * A file attribute view that provides a view of the file attributes commonly
34 * associated with files on file systems used by operating systems that implement
38 * POSIX</a> family of standards commonly use file systems that have a
39 * file <em>owner</em>, <em>group-owner</em>, and related <em>access
40 * permissions</em>. This file attribute view provides read and write access
44 * file's attributes. The file {@link PosixFileAttributes#owner() owner} is
45 * represented by a {@link UserPrincipal} that is the identity of the file owner
52 * set of access permissions. This file attribute view provides access to the nine
55 * <em>execute</em> access for the file owner, group, and others (others
57 * operating systems and file systems may provide additional permission bits
61 * Suppose we need to print out the owner and access permissions of a file:
63 * Path file = ...
64 * PosixFileAttributes attrs = Files.getFileAttributeView(file, PosixFileAttributeView.class)
72 * <p> Where dynamic access to file attributes is required, the attributes
99 * the file's last modified time, last access time or create time attributes as
107 * the initial permissions when creating a file or directory. The
114 * file:
123 * <p> When the access permissions are set at file creation time then the actual
128 * the access permissions, and the underlying file system supports access
132 * Files#createDirectory createDirectory} methods. In other words, the file may
154 * denies read access to the file.
160 * Updates the file permissions.
174 * method denies write access to the file.
179 * Updates the file group-owner.
182 * the new file group-owner
190 * method denies write access to the file.