Package | Description |
---|---|
org.apache.commons.configuration2 |
The Configuration main package.
|
org.apache.commons.configuration2.io |
A package with classes related to I/O operations.
|
org.apache.commons.configuration2.plist |
Configuration classes supporting NeXT / OpenStep /GNUStep style configuration.
|
Modifier and Type | Method and Description |
---|---|
void |
XMLPropertiesConfiguration.initFileLocator(FileLocator locator)
Initializes this object with a
FileLocator . |
void |
PropertiesConfiguration.initFileLocator(FileLocator locator)
Stores the current
FileLocator for a following IO operation. |
void |
XMLConfiguration.initFileLocator(FileLocator loc)
Passes the current
FileLocator to this object. |
Modifier and Type | Method and Description |
---|---|
FileLocator |
FileLocator.FileLocatorBuilder.create()
Creates a new immutable
FileLocatorImpl object based on the
properties set so far for this builder. |
static FileLocator |
FileLocatorUtils.fromMap(Map<String,?> map)
Creates a new
FileLocator object with the properties defined in
the given map. |
static FileLocator |
FileLocatorUtils.fullyInitializedLocator(FileLocator locator)
Returns a
FileLocator object based on the passed in one whose
location is fully defined. |
FileLocator |
FileHandler.getFileLocator()
Returns a
FileLocator object with the specification of the file
stored by this FileHandler . |
Modifier and Type | Method and Description |
---|---|
static FileLocator.FileLocatorBuilder |
FileLocatorUtils.fileLocator(FileLocator src)
Returns a
FileLocatorBuilder which is already initialized with
the properties of the passed in FileLocator . |
static FileLocator |
FileLocatorUtils.fullyInitializedLocator(FileLocator locator)
Returns a
FileLocator object based on the passed in one whose
location is fully defined. |
void |
FileLocatorAware.initFileLocator(FileLocator locator)
Passes the current
FileLocator to this object. |
static boolean |
FileLocatorUtils.isFullyInitialized(FileLocator locator)
Returns a flag whether all components of the given
FileLocator
describing the referenced file are defined. |
static boolean |
FileLocatorUtils.isLocationDefined(FileLocator locator)
Checks whether the specified
FileLocator contains enough
information to locate a file. |
static URL |
FileLocatorUtils.locate(FileLocator locator)
Locates the provided
FileLocator , returning a URL for accessing
the referenced file. |
URL |
AbsoluteNameLocationStrategy.locate(FileSystem fileSystem,
FileLocator locator)
Tries to locate the specified file.
|
URL |
FileSystemLocationStrategy.locate(FileSystem fileSystem,
FileLocator locator)
Tries to locate the specified file.
|
URL |
BasePathLocationStrategy.locate(FileSystem fileSystem,
FileLocator locator)
Tries to locate the specified file.
|
URL |
ClasspathLocationStrategy.locate(FileSystem fileSystem,
FileLocator locator)
Tries to locate the specified file.
|
URL |
HomeDirectoryLocationStrategy.locate(FileSystem fileSystem,
FileLocator locator)
Tries to locate the specified file.
|
URL |
CombinedLocationStrategy.locate(FileSystem fileSystem,
FileLocator locator)
Tries to locate the specified file.
|
URL |
ProvidedURLLocationStrategy.locate(FileSystem fileSystem,
FileLocator locator)
Tries to locate the specified file.
|
URL |
FileLocationStrategy.locate(FileSystem fileSystem,
FileLocator locator)
Tries to locate the specified file.
|
static URL |
FileLocatorUtils.locateOrThrow(FileLocator locator)
Tries to locate the file referenced by the passed in
FileLocator . |
static void |
FileLocatorUtils.put(FileLocator locator,
Map<String,Object> map)
Stores the specified
FileLocator in the given map. |
void |
FileHandler.setFileLocator(FileLocator locator)
Sets the file to be accessed by this
FileHandler as a
FileLocator object. |
Modifier and Type | Method and Description |
---|---|
void |
XMLPropertyListConfiguration.initFileLocator(FileLocator locator)
Stores the current file locator.
|
Copyright © 2001–2020 The Apache Software Foundation. All rights reserved.