| 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 | Description |
|---|---|---|
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. |
void |
XMLPropertiesConfiguration.initFileLocator(FileLocator locator) |
Initializes this object with a
FileLocator. |
| Modifier and Type | Method | 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(java.util.Map<java.lang.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 | 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. |
java.net.URL |
AbsoluteNameLocationStrategy.locate(FileSystem fileSystem,
FileLocator locator) |
Tries to locate the specified file.
|
java.net.URL |
BasePathLocationStrategy.locate(FileSystem fileSystem,
FileLocator locator) |
Tries to locate the specified file.
|
java.net.URL |
ClasspathLocationStrategy.locate(FileSystem fileSystem,
FileLocator locator) |
Tries to locate the specified file.
|
java.net.URL |
CombinedLocationStrategy.locate(FileSystem fileSystem,
FileLocator locator) |
Tries to locate the specified file.
|
java.net.URL |
FileLocationStrategy.locate(FileSystem fileSystem,
FileLocator locator) |
Tries to locate the specified file.
|
static java.net.URL |
FileLocatorUtils.locate(FileLocator locator) |
Locates the provided
FileLocator, returning a URL for accessing
the referenced file. |
java.net.URL |
FileSystemLocationStrategy.locate(FileSystem fileSystem,
FileLocator locator) |
Tries to locate the specified file.
|
java.net.URL |
HomeDirectoryLocationStrategy.locate(FileSystem fileSystem,
FileLocator locator) |
Tries to locate the specified file.
|
java.net.URL |
ProvidedURLLocationStrategy.locate(FileSystem fileSystem,
FileLocator locator) |
Tries to locate the specified file.
|
static java.net.URL |
FileLocatorUtils.locateOrThrow(FileLocator locator) |
Tries to locate the file referenced by the passed in
FileLocator. |
static void |
FileLocatorUtils.put(FileLocator locator,
java.util.Map<java.lang.String,java.lang.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 | Description |
|---|---|---|
void |
XMLPropertyListConfiguration.initFileLocator(FileLocator locator) |
Stores the current file locator.
|
Copyright © 2001–2018. All rights reserved.