Uses of Interface
org.apache.commons.configuration2.io.FileLocationStrategy
-
Packages that use FileLocationStrategy Package Description org.apache.commons.configuration2.builder This package contains the implementations of configuration builder classes used to create newConfigurationobjects.org.apache.commons.configuration2.io 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 FileLocationStrategy Modifier and Type Method Description FileBasedBuilderParametersImplFileBasedBuilderParametersImpl. setLocationStrategy(FileLocationStrategy strategy)TFileBasedBuilderProperties. 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 FileLocationStrategy Modifier and Type Class Description classAbsoluteNameLocationStrategyA specialized implementation ofFileLocationStrategywhich checks whether the provided file name is already an absolute file name.classBasePathLocationStrategyA specialized implementation ofFileLocationStrategywhich tries to construct a file path from the locator's base path and file name.classClasspathLocationStrategyA specializedFileLocationStrategyimplementation which searches for files on the class path.classCombinedLocationStrategyA specialized implementation of aFileLocationStrategywhich encapsulates an arbitrary number ofFileLocationStrategyobjects.classFileSystemLocationStrategyA specialized implementation ofFileLocationStrategywhich uses the passed inFileSystemto locate a file.classHomeDirectoryLocationStrategyA specialized implementation ofFileLocationStrategywhich searches for files in the user's home directory or another special configurable directory.classProvidedURLLocationStrategyA specialized implementation ofFileLocationStrategywhich checks whether a passed inFileLocatoralready has a defined URL.Fields in org.apache.commons.configuration2.io declared as FileLocationStrategy Modifier and Type Field Description static FileLocationStrategyFileLocatorUtils. DEFAULT_LOCATION_STRATEGYConstant for the defaultFileLocationStrategy.Methods in org.apache.commons.configuration2.io that return FileLocationStrategy Modifier and Type Method Description FileLocationStrategyFileHandler. getLocationStrategy()Gets theFileLocationStrategyto be applied when accessing the associated file.FileLocationStrategyFileLocator. getLocationStrategy()Gets theFileLocationStrategyto be used for locating the referenced file.Methods in org.apache.commons.configuration2.io that return types with arguments of type FileLocationStrategy Modifier and Type Method Description Collection<FileLocationStrategy>CombinedLocationStrategy. getSubStrategies()Gets a (unmodifiable) collection with the sub strategies managed by this object.Methods in org.apache.commons.configuration2.io with parameters of type FileLocationStrategy Modifier and Type Method Description FileLocator.FileLocatorBuilderFileLocator.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 FileLocationStrategy Constructor Description CombinedLocationStrategy(Collection<? extends FileLocationStrategy> subs)Creates a new instance ofCombinedLocationStrategyand initializes it with the provided sub strategies.
-