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.Builder |
FileAttributeViewMetadata.forView(Class<? extends FileAttributeView> viewType)
Creates a builder for
FileAttributeViewMetadata objects. |
FileAttributeViewMetadata.Builder |
FileAttributeViewMetadata.Builder.withAttribute(String attributeName,
Type attributeType)
Adds a single attribute that is both readable and writable.
|
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.withAttributes(FileAttributeViewMetadata view)
Adds all attributes of another
FileAttributeViewMetadata object. |
FileAttributeViewMetadata.Builder |
FileAttributeViewMetadata.Builder.withViewName(String viewName)
Sets the view name to use.
|
Copyright © 2016–2023. All rights reserved.