# Print output for @column tags ?>
Developers

- Design
- Develop
- Distribute

Developer Console

## Most visited

## Recently visited

## Results for

Summary: Methods | Inherited Methods

# PosixFileAttributes

`public interface PosixFileAttributes`
`implements BasicFileAttributes`

java.nio.file.attribute.PosixFileAttributes

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.

## Summary

### Public methods
`abstract GroupPrincipal` | `group()` Returns the group owner of the file.
`abstract UserPrincipal` | `owner()` Returns the owner of the file.
`abstract Set<PosixFilePermission>` | `permissions()` Returns the permissions of the file.

### Inherited methods
From interface `java.nio.file.attribute.BasicFileAttributes`
`abstract FileTime` | `creationTime()` Returns the creation time.
`abstract Object` | `fileKey()` Returns an object that uniquely identifies the given file, or `null` if a file key is not available.
`abstract boolean` | `isDirectory()` Tells whether the file is a directory.
`abstract boolean` | `isOther()` Tells whether the file is something other than a regular file, directory, or symbolic link.
`abstract boolean` | `isRegularFile()` Tells whether the file is a regular file with opaque content.
`abstract boolean` | `isSymbolicLink()` Tells whether the file is a symbolic link.
`abstract FileTime` | `lastAccessTime()` Returns the time of last access.
`abstract FileTime` | `lastModifiedTime()` Returns the time of last modification.
`abstract long` | `size()` Returns the size of the file (in bytes).

## Public methods

### group

    public abstract GroupPrincipal group ()

Returns the group owner of the file.

Returns
`GroupPrincipal` | the file group owner

See also:

- `PosixFileAttributeView.setGroup(GroupPrincipal)`

### owner

    public abstract UserPrincipal owner ()

Returns the owner of the file.

Returns
`UserPrincipal` | the file owner

See also:

- `FileOwnerAttributeView.setOwner(UserPrincipal)`

### permissions

    public abstract Set<PosixFilePermission> permissions ()

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
`Set<PosixFilePermission>` | the file permissions

See also:

- `PosixFileAttributeView.setPermissions(Set)`

Full name *
Email address *
Company / developer name
One of your Play Store app URLs *
Which best describes your business:*
Apps
Games
Apps & Games
*
*