Uses of Interface
org.apache.commons.configuration2.io.FileLocationStrategy
Package
Description
This package contains the implementations of configuration builder classes used to create new
Configuration
objects.
A package with classes related to I/O operations.
-
Uses of FileLocationStrategy in org.apache.commons.configuration2.builder
Modifier and TypeMethodDescriptionFileBasedBuilderParametersImpl.setLocationStrategy
(FileLocationStrategy strategy) FileBasedBuilderProperties.setLocationStrategy
(FileLocationStrategy strategy) Sets theFileLocationStrategy
for resolving the referenced file. -
Uses of FileLocationStrategy in org.apache.commons.configuration2.io
Modifier and TypeClassDescriptionclass
A specialized implementation ofFileLocationStrategy
which checks whether the provided file name is already an absolute file name.class
A specialized implementation ofFileLocationStrategy
which tries to construct a file path from the locator's base path and file name.class
A specializedFileLocationStrategy
implementation which searches for files on the class path.class
A specialized implementation of aFileLocationStrategy
which encapsulates an arbitrary number ofFileLocationStrategy
objects.class
A specialized implementation ofFileLocationStrategy
which uses the passed inFileSystem
to locate a file.class
A specialized implementation ofFileLocationStrategy
which searches for files in the user's home directory or another special configurable directory.class
A specialized implementation ofFileLocationStrategy
which checks whether a passed inFileLocator
already has a defined URL.Modifier and TypeFieldDescriptionstatic final FileLocationStrategy
FileLocatorUtils.DEFAULT_LOCATION_STRATEGY
Constant for the defaultFileLocationStrategy
.Modifier and TypeMethodDescriptionFileHandler.getLocationStrategy()
Gets theFileLocationStrategy
to be applied when accessing the associated file.FileLocator.getLocationStrategy()
Gets theFileLocationStrategy
to be used for locating the referenced file.Modifier and TypeMethodDescriptionCombinedLocationStrategy.getSubStrategies()
Gets a (unmodifiable) collection with the sub strategies managed by this object.Modifier and TypeMethodDescriptionFileLocator.FileLocatorBuilder.locationStrategy
(FileLocationStrategy strategy) Specifies theFileLocationStrategy
to be used when the referenced file is to be located.void
FileHandler.setLocationStrategy
(FileLocationStrategy strategy) Sets theFileLocationStrategy
to be applied when accessing the associated file.ModifierConstructorDescriptionCombinedLocationStrategy
(Collection<? extends FileLocationStrategy> subs) Creates a new instance ofCombinedLocationStrategy
and initializes it with the provided sub strategies.