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 | Method and Description |
---|---|
static FileAttributeViewMetadata.Operation |
FileAttributeViewMetadata.Operation.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileAttributeViewMetadata.Operation[] |
FileAttributeViewMetadata.Operation.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Set<String> |
FileAttributeViewMetadata.attributeNames(FileAttributeViewMetadata.Operation operation)
Returns the names of the attributes that are supported in the view this metadata object applies to for a specific operation.
|
boolean |
FileAttributeViewMetadata.supportsAttribute(String attributeName,
FileAttributeViewMetadata.Operation operation)
Checks whether or not an attribute is supported by the view this metadata object applies to for a specific operation.
|
FileAttributeViewMetadata.Builder |
FileAttributeViewMetadata.Builder.withAttribute(String attributeName,
Type attributeType,
FileAttributeViewMetadata.Operation firstOperation,
FileAttributeViewMetadata.Operation... additionalOperations)
Adds a single attribute that is only supported for specific operations.
|
FileAttributeViewMetadata.Builder |
FileAttributeViewMetadata.Builder.withAttribute(String attributeName,
Type attributeType,
FileAttributeViewMetadata.Operation firstOperation,
FileAttributeViewMetadata.Operation... additionalOperations)
Adds a single attribute that is only supported for specific operations.
|
Copyright © 2016–2023. All rights reserved.