public interface AnnotatedPosixFileAttributeView extends PosixFileAttributeView, AnnotatedBasicFileAttributeView
PosixFileAttributeView
.Modifier and Type | Method and Description |
---|---|
AnnotatedPosixFileAttributes |
readAttributes() |
void |
setGroup(GroupPrincipal group) |
void |
setOwner(UserPrincipal owner) |
void |
setPermissions(Set<PosixFilePermission> perms) |
name
getOwner
setCreationTime, setLastAccessTime, setLastModifiedTime
setTimes
AnnotatedPosixFileAttributes readAttributes() throws IOException
readAttributes
in interface AnnotatedBasicFileAttributeView
readAttributes
in interface AnnotatedFileAttributeView
readAttributes
in interface BasicFileAttributeView
readAttributes
in interface PosixFileAttributeView
IOException
@Attribute void setPermissions(Set<PosixFilePermission> perms) throws IOException
setPermissions
in interface PosixFileAttributeView
IOException
@Attribute void setOwner(UserPrincipal owner) throws IOException
setOwner
in interface FileOwnerAttributeView
IOException
@Attribute void setGroup(GroupPrincipal group) throws IOException
setGroup
in interface PosixFileAttributeView
IOException