Package | Description |
---|---|
com.github.robtimus.filesystems.attribute |
Provides utility classes and interfaces that can assist in implementing file and file system attributes.
|
Modifier and Type | Field and Description |
---|---|
static FileAttributeViewMetadata |
FileAttributeViewMetadata.ACL
Metadata for
AclFileAttributeView . |
static FileAttributeViewMetadata |
FileAttributeViewMetadata.BASIC
Metadata for
BasicFileAttributeView . |
static FileAttributeViewMetadata |
FileAttributeViewMetadata.DOS
Metadata for
DosFileAttributeView . |
static FileAttributeViewMetadata |
FileAttributeViewMetadata.FILE_OWNER
Metadata for
FileOwnerAttributeView . |
static FileAttributeViewMetadata |
FileAttributeViewMetadata.POSIX
Metadata for
PosixFileAttributeView . |
Modifier and Type | Method and Description |
---|---|
FileAttributeViewMetadata |
FileAttributeViewMetadata.Builder.build()
Creates a
FileAttributeViewMetadata object with the attributes added to this builder. |
FileAttributeViewMetadata |
FileAttributeViewCollection.getView(String name)
Returns a
FileAttributeViewMetadata object representing a specific view. |
Modifier and Type | Method and Description |
---|---|
static Set<String> |
FileAttributeSupport.getAttributeNames(String attributes,
FileAttributeViewMetadata view)
Returns the actual attribute names from a string representing attributes to read for a specific view.
|
static Map<String,Object> |
FileAttributeSupport.toAttributeMap(FileAttribute<?>[] attributes,
FileAttributeViewMetadata... supportedViews)
Collects several
FileAttribute objects into a map. |
FileAttributeViewMetadata.Builder |
FileAttributeViewMetadata.Builder.withAttributes(FileAttributeViewMetadata view)
Adds all attributes of another
FileAttributeViewMetadata object. |
static FileAttributeViewCollection |
FileAttributeViewCollection.withViews(FileAttributeViewMetadata... views)
Creates a new collection of file attribute views.
|
Modifier and Type | Method and Description |
---|---|
static Map<String,Object> |
FileAttributeSupport.toAttributeMap(FileAttribute<?>[] attributes,
Collection<FileAttributeViewMetadata> supportedViews)
Collects several
FileAttribute objects into a map. |
static Map<String,Object> |
FileAttributeSupport.toAttributeMap(FileAttribute<?>[] attributes,
Collection<FileAttributeViewMetadata> supportedViews,
Collection<String> nonSupportedAttributeNames)
Collects several
FileAttribute objects into a map. |
static Map<String,Object> |
FileAttributeSupport.toAttributeMap(FileAttribute<?>[] attributes,
Collection<FileAttributeViewMetadata> supportedViews,
String... nonSupportedAttributeNames)
Collects several
FileAttribute objects into a map. |
Copyright © 2016–2023. All rights reserved.