Uses of Class
org.apache.commons.configuration2.io.FileLocator
Packages that use FileLocator
Package
Description
The Configuration main package.
A package with classes related to I/O operations.
Configuration classes supporting NeXT / OpenStep /GNUStep style configuration.
-
Uses of FileLocator in org.apache.commons.configuration2
Methods in org.apache.commons.configuration2 with parameters of type FileLocatorModifier and TypeMethodDescriptionvoidPropertiesConfiguration.initFileLocator(FileLocator locator) Stores the currentFileLocatorfor a following IO operation.voidXMLConfiguration.initFileLocator(FileLocator loc) Passes the currentFileLocatorto this object.voidXMLPropertiesConfiguration.initFileLocator(FileLocator locator) Initializes this object with aFileLocator. -
Uses of FileLocator in org.apache.commons.configuration2.io
Methods in org.apache.commons.configuration2.io that return FileLocatorModifier and TypeMethodDescriptionFileLocator.FileLocatorBuilder.create()Creates a new immutableFileLocatorImplobject based on the properties set so far for this builder.static FileLocatorCreates a newFileLocatorobject with the properties defined in the given map.static FileLocatorFileLocatorUtils.fullyInitializedLocator(FileLocator locator) Returns aFileLocatorobject based on the passed in one whose location is fully defined.FileHandler.getFileLocator()Gets aFileLocatorobject with the specification of the file stored by thisFileHandler.Methods in org.apache.commons.configuration2.io with parameters of type FileLocatorModifier and TypeMethodDescriptionFileLocatorUtils.fileLocator(FileLocator src) Returns aFileLocatorBuilderwhich is already initialized with the properties of the passed inFileLocator.static FileLocatorFileLocatorUtils.fullyInitializedLocator(FileLocator locator) Returns aFileLocatorobject based on the passed in one whose location is fully defined.voidFileLocatorAware.initFileLocator(FileLocator locator) Passes the currentFileLocatorto this object.static booleanFileLocatorUtils.isFullyInitialized(FileLocator locator) Returns a flag whether all components of the givenFileLocatordescribing the referenced file are defined.static booleanFileLocatorUtils.isLocationDefined(FileLocator locator) Checks whether the specifiedFileLocatorcontains enough information to locate a file.AbsoluteNameLocationStrategy.locate(FileSystem fileSystem, FileLocator locator) Tries to locate the specified file.BasePathLocationStrategy.locate(FileSystem fileSystem, FileLocator locator) Tries to locate the specified file.ClasspathLocationStrategy.locate(FileSystem fileSystem, FileLocator locator) Tries to locate the specified file.CombinedLocationStrategy.locate(FileSystem fileSystem, FileLocator locator) Tries to locate the specified file.FileLocationStrategy.locate(FileSystem fileSystem, FileLocator locator) Tries to locate the specified file.static URLFileLocatorUtils.locate(FileLocator locator) Locates the providedFileLocator, returning a URL for accessing the referenced file.FileSystemLocationStrategy.locate(FileSystem fileSystem, FileLocator locator) Tries to locate the specified file.HomeDirectoryLocationStrategy.locate(FileSystem fileSystem, FileLocator locator) Tries to locate the specified file.ProvidedURLLocationStrategy.locate(FileSystem fileSystem, FileLocator locator) Tries to locate the specified file.static URLFileLocatorUtils.locateOrThrow(FileLocator locator) Tries to locate the file referenced by the passed inFileLocator.static voidFileLocatorUtils.put(FileLocator locator, Map<String, Object> map) Stores the specifiedFileLocatorin the given map.voidFileHandler.setFileLocator(FileLocator locator) Sets the file to be accessed by thisFileHandleras aFileLocatorobject. -
Uses of FileLocator in org.apache.commons.configuration2.plist
Methods in org.apache.commons.configuration2.plist with parameters of type FileLocatorModifier and TypeMethodDescriptionvoidXMLPropertyListConfiguration.initFileLocator(FileLocator locator) Stores the current file locator.