Uses of Class
org.apache.commons.configuration2.io.FileLocator.FileLocatorBuilder
Package
Description
A package with classes related to I/O operations.
-
Uses of FileLocator.FileLocatorBuilder in org.apache.commons.configuration2.io
Modifier and TypeMethodDescriptionSpecifies the base path of the newFileLocator
.Specifies the encoding of the newFileLocator
.FileLocatorUtils.fileLocator()
Returns an uninitializedFileLocatorBuilder
which can be used for the creation of aFileLocator
object.FileLocatorUtils.fileLocator
(FileLocator src) Returns aFileLocatorBuilder
which is already initialized with the properties of the passed inFileLocator
.Specifies the file name of the newFileLocator
.FileLocator.FileLocatorBuilder.fileSystem
(FileSystem fs) Specifies theFileSystem
of the newFileLocator
.FileLocator.FileLocatorBuilder.locationStrategy
(FileLocationStrategy strategy) Specifies theFileLocationStrategy
to be used when the referenced file is to be located.Specifies the source URL of the newFileLocator
.FileLocator.FileLocatorBuilder.urlConnectionOptions
(URLConnectionOptions urlConnectionOptions) Specifies the source URL connection options of the newFileLocator
.ModifierConstructorDescriptionCreates a new instance ofFileLocatorImpl
and initializes it from the given builder instance