Uses of Class
com.google.common.jimfs.Configuration.Builder
-
Uses of Configuration.Builder in com.google.common.jimfs
Methods in com.google.common.jimfs that return Configuration.BuilderModifier and TypeMethodDescriptionConfiguration.Builder.addAttributeProvider
(AttributeProvider provider) Adds an attribute provider for a custom view for the file system to support.static Configuration.Builder
Creates a new mutableConfiguration
builder using the given path type.Configuration.Builder.setAttributeViews
(String first, String... more) Sets the attribute views the file system should support.Configuration.Builder.setBlockSize
(int blockSize) Sets the block size (in bytes) for the file system to use.Configuration.Builder.setDefaultAttributeValue
(String attribute, Object value) Sets the default value to use for the given file attribute when creating new files.private Configuration.Builder
Configuration.Builder.setDisplayName
(String displayName) Configuration.Builder.setFileTimeSource
(FileTimeSource source) Sets theFileTimeSource
that will supply the current time for this file system.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.setMaxSize
(long maxSize) Sets the maximum size (in bytes) for the file system's in-memory file storage.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.setNameDisplayNormalization
(PathNormalization first, PathNormalization... more) Sets the normalizations that will be applied to the display form of filenames.Configuration.Builder.setPathEqualityUsesCanonicalForm
(boolean useCanonicalForm) Sets whetherPath
objects in the file system use the canonical form (true) or the display form (false) of filenames for determining equality of two paths.Sets the roots for the file system.Configuration.Builder.setSupportedFeatures
(Feature... features) Sets the given features to be supported by the file system.Configuration.Builder.setWatchServiceConfiguration
(WatchServiceConfiguration config) Sets the configuration thatWatchService
instances created by the file system should use.Configuration.Builder.setWorkingDirectory
(String workingDirectory) Sets the path to the working directory for the file system.Configuration.toBuilder()
Returns a new mutable builder that initially contains the same settings as this configuration.Constructors in com.google.common.jimfs with parameters of type Configuration.BuilderModifierConstructorDescriptionprivate
Configuration
(Configuration.Builder builder) Creates an immutable configuration object from the given builder.