Uses of Interface
org.apache.commons.configuration2.io.FileLocationStrategy
Packages that use 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
Methods in org.apache.commons.configuration2.builder with parameters of type FileLocationStrategyModifier and TypeMethodDescriptionFileBasedBuilderParametersImpl.setLocationStrategy(FileLocationStrategy strategy) FileBasedBuilderProperties.setLocationStrategy(FileLocationStrategy strategy) Sets theFileLocationStrategyfor resolving the referenced file. -
Uses of FileLocationStrategy in org.apache.commons.configuration2.io
Classes in org.apache.commons.configuration2.io that implement FileLocationStrategyModifier and TypeClassDescriptionclassA specialized implementation ofFileLocationStrategywhich checks whether the provided file name is already an absolute file name.classA specialized implementation ofFileLocationStrategywhich tries to construct a file path from the locator's base path and file name.classA specializedFileLocationStrategyimplementation which searches for files on the class path.classA specialized implementation of aFileLocationStrategywhich encapsulates an arbitrary number ofFileLocationStrategyobjects.classA specialized implementation ofFileLocationStrategywhich uses the passed inFileSystemto locate a file.classA specialized implementation ofFileLocationStrategywhich searches for files in the user's home directory or another special configurable directory.classA specialized implementation ofFileLocationStrategywhich checks whether a passed inFileLocatoralready has a defined URL.Fields in org.apache.commons.configuration2.io declared as FileLocationStrategyModifier and TypeFieldDescriptionstatic final FileLocationStrategyFileLocatorUtils.DEFAULT_LOCATION_STRATEGYConstant for the defaultFileLocationStrategy.Methods in org.apache.commons.configuration2.io that return FileLocationStrategyModifier and TypeMethodDescriptionFileHandler.getLocationStrategy()Gets theFileLocationStrategyto be applied when accessing the associated file.FileLocator.getLocationStrategy()Gets theFileLocationStrategyto be used for locating the referenced file.Methods in org.apache.commons.configuration2.io that return types with arguments of type FileLocationStrategyModifier and TypeMethodDescriptionCombinedLocationStrategy.getSubStrategies()Gets a (unmodifiable) collection with the sub strategies managed by this object.Methods in org.apache.commons.configuration2.io with parameters of type FileLocationStrategyModifier and TypeMethodDescriptionFileLocator.FileLocatorBuilder.locationStrategy(FileLocationStrategy strategy) Specifies theFileLocationStrategyto be used when the referenced file is to be located.voidFileHandler.setLocationStrategy(FileLocationStrategy strategy) Sets theFileLocationStrategyto be applied when accessing the associated file.Constructor parameters in org.apache.commons.configuration2.io with type arguments of type FileLocationStrategyModifierConstructorDescriptionCombinedLocationStrategy(Collection<? extends FileLocationStrategy> subs) Creates a new instance ofCombinedLocationStrategyand initializes it with the provided sub strategies.