Configuration.Builder |
Configuration.Builder.addAttributeProvider(AttributeProvider provider) |
Adds an attribute provider for a custom view for the file system to support.
|
static Configuration.Builder |
Configuration.builder(PathType pathType) |
Creates a new mutable Configuration builder using the given path type.
|
Configuration.Builder |
Configuration.Builder.setAttributeViews(java.lang.String first,
java.lang.String... more) |
Sets the attribute views the file system should support.
|
Configuration.Builder |
Configuration.Builder.setBlockSize(int blockSize) |
Sets the block size (in bytes) for the file system to use.
|
Configuration.Builder |
Configuration.Builder.setDefaultAttributeValue(java.lang.String attribute,
java.lang.Object value) |
Sets the default value to use for the given file attribute when creating new files.
|
Configuration.Builder |
Configuration.Builder.setMaxCacheSize(long maxCacheSize) |
Sets the maximum amount of unused space (in bytes) in the file system's in-memory file
storage that should be cached for reuse.
|
Configuration.Builder |
Configuration.Builder.setMaxSize(long maxSize) |
Sets the maximum size (in bytes) for the file system's in-memory file storage.
|
Configuration.Builder |
Configuration.Builder.setNameCanonicalNormalization(PathNormalization first,
PathNormalization... more) |
Returns the normalizations that will be applied to the canonical form of filenames in the
file system.
|
Configuration.Builder |
Configuration.Builder.setNameDisplayNormalization(PathNormalization first,
PathNormalization... more) |
Sets the normalizations that will be applied to the display form of filenames.
|
Configuration.Builder |
Configuration.Builder.setPathEqualityUsesCanonicalForm(boolean useCanonicalForm) |
Sets whether Path objects in the file system use the canonical form (true) or the
display form (false) of filenames for determining equality of two paths.
|
Configuration.Builder |
Configuration.Builder.setRoots(java.lang.String first,
java.lang.String... more) |
Sets the roots for the file system.
|
Configuration.Builder |
Configuration.Builder.setSupportedFeatures(Feature... features) |
Sets the given features to be supported by the file system.
|
Configuration.Builder |
Configuration.Builder.setWatchServiceConfiguration(WatchServiceConfiguration config) |
Sets the configuration that WatchService instances created by the file system
should use.
|
Configuration.Builder |
Configuration.Builder.setWorkingDirectory(java.lang.String workingDirectory) |
Sets the path to the working directory for the file system.
|
Configuration.Builder |
Configuration.toBuilder() |
Returns a new mutable builder that initially contains the same settings as this configuration.
|