Package | Description |
---|---|
org.apache.commons.configuration2.io |
A package with classes related to I/O operations.
|
Modifier and Type | Method and Description |
---|---|
FileLocator.FileLocatorBuilder |
FileLocator.FileLocatorBuilder.basePath(String path)
Specifies the base path of the new
FileLocator . |
FileLocator.FileLocatorBuilder |
FileLocator.FileLocatorBuilder.encoding(String enc)
Specifies the encoding of the new
FileLocator . |
static FileLocator.FileLocatorBuilder |
FileLocatorUtils.fileLocator()
Returns an uninitialized
FileLocatorBuilder which can be used
for the creation of a FileLocator object. |
static FileLocator.FileLocatorBuilder |
FileLocatorUtils.fileLocator(FileLocator src)
Returns a
FileLocatorBuilder which is already initialized with
the properties of the passed in FileLocator . |
FileLocator.FileLocatorBuilder |
FileLocator.FileLocatorBuilder.fileName(String name)
Specifies the file name of the new
FileLocator . |
FileLocator.FileLocatorBuilder |
FileLocator.FileLocatorBuilder.fileSystem(FileSystem fs)
Specifies the
FileSystem of the new FileLocator . |
FileLocator.FileLocatorBuilder |
FileLocator.FileLocatorBuilder.locationStrategy(FileLocationStrategy strategy)
Specifies the
FileLocationStrategy to be used when the
referenced file is to be located. |
FileLocator.FileLocatorBuilder |
FileLocator.FileLocatorBuilder.sourceURL(URL url)
Specifies the source URL of the new
FileLocator . |
Constructor and Description |
---|
FileLocator(FileLocator.FileLocatorBuilder builder)
Creates a new instance of
FileLocatorImpl and initializes it from
the given builder instance |
Copyright © 2001–2020 The Apache Software Foundation. All rights reserved.