public interface AttributesDescriptor
Modifier and Type | Method and Description |
---|---|
Class<? extends BasicFileAttributes> |
getAttributeClass()
Get the file attributes class (if any) associated with this view
|
String |
getName()
Get the name of the attribute view
|
Class<? extends FileAttributeView> |
getViewClass()
Get the file attribute view class associated with this view
|
@Nonnull String getName()
AttributeView.name()
@Nonnull Class<? extends FileAttributeView> getViewClass()
Files.getFileAttributeView(Path, Class, LinkOption...)
@Nullable Class<? extends BasicFileAttributes> getAttributeClass()
null
if this view does not
have an attributes classFiles.readAttributes(Path, Class, LinkOption...)