PosixFileAttributes

Interface PosixFileAttributes

All Superinterfaces:
BasicFileAttributes
public interface PosixFileAttributes
extends BasicFileAttributes

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.

Since:
1.7

Methods

owner

UserPrincipal owner()

Returns the owner of the file.

Returns:
the file owner
See Also:登录查看完整内容