File attributes associated with files on file systems used by operating systems that implement the Portable Operating System Interface (POSIX) family of standards.
The POSIX attributes of a file are retrieved using a PosixFileAttributeView by invoking its readAttributes method.
File attributes associated with files on file systems used by operating systems that implement the Portable Operating System Interface (POSIX) family of standards. The POSIX attributes of a file are retrieved using a PosixFileAttributeView by invoking its readAttributes method.
(group this)
Returns the group owner of the file.
returns: the file group owner - java.nio.file.attribute.GroupPrincipal
Returns the group owner of the file. returns: the file group owner - `java.nio.file.attribute.GroupPrincipal`
(owner this)
Returns the owner of the file.
returns: the file owner - java.nio.file.attribute.UserPrincipal
Returns the owner of the file. returns: the file owner - `java.nio.file.attribute.UserPrincipal`
(permissions this)
Returns the permissions of the file. The file permissions are returned as a set of PosixFilePermission elements. The returned set is a copy of the file permissions and is modifiable. This allows the result to be modified and passed to the setPermissions method to update the file's permissions.
returns: the file permissions - java.util.Set<java.nio.file.attribute.PosixFilePermission>
Returns the permissions of the file. The file permissions are returned as a set of PosixFilePermission elements. The returned set is a copy of the file permissions and is modifiable. This allows the result to be modified and passed to the setPermissions method to update the file's permissions. returns: the file permissions - `java.util.Set<java.nio.file.attribute.PosixFilePermission>`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close