T - the type of the result of all set methods for method chainingpublic interface FileBasedBuilderProperties<T>
Definition of a properties interface for parameters of file-based configurations.
This interface defines a set of properties which can be used to specify the location of a configuration source.
| Modifier and Type | Method and Description |
|---|---|
T |
setBasePath(String path)
Sets the base path of the associated
FileHandler. |
T |
setEncoding(String enc)
Sets the encoding of the associated
FileHandler. |
T |
setFile(File file)
Sets the location of the associated
FileHandler as a File object. |
T |
setFileName(String name)
Sets the file name of the associated
FileHandler. |
T |
setFileSystem(FileSystem fs)
Sets the
FileSystem of the associated FileHandler. |
T |
setLocationStrategy(FileLocationStrategy strategy)
Sets the
FileLocationStrategy for resolving the referenced file. |
T |
setPath(String path)
Sets the location of the associated
FileHandler as an absolute file path. |
T |
setReloadingDetectorFactory(ReloadingDetectorFactory factory)
Sets the factory for creating
ReloadingDetector objects. |
T |
setReloadingRefreshDelay(Long reloadingRefreshDelay)
Sets the refresh delay for reloading support
|
T |
setURL(URL url)
Sets the location of the associated
FileHandler as a URL object. |
default T |
setURL(URL url,
URLConnectionOptions urlConnectionOptions)
Sets the location of the associated
FileHandler as a URL object. |
T setBasePath(String path)
FileHandler.path - the base pathT setEncoding(String enc)
FileHandler.enc - the encodingT setFile(File file)
FileHandler as a File object.file - the File locationT setFileName(String name)
FileHandler.name - the file nameT setFileSystem(FileSystem fs)
FileSystem of the associated FileHandler.fs - the FileSystemT setLocationStrategy(FileLocationStrategy strategy)
FileLocationStrategy for resolving the referenced file.strategy - the FileLocationStrategyT setPath(String path)
FileHandler as an absolute file path.path - the path locationT setReloadingDetectorFactory(ReloadingDetectorFactory factory)
ReloadingDetector objects. With this method a custom factory for reloading
detectors can be installed. Per default, a factory creating FileHandlerReloadingDetector objects is used.factory - the ReloadingDetectorFactoryT setReloadingRefreshDelay(Long reloadingRefreshDelay)
reloadingRefreshDelay - the refresh delay (in milliseconds)T setURL(URL url)
FileHandler as a URL object.url - the URL locationdefault T setURL(URL url, URLConnectionOptions urlConnectionOptions)
FileHandler as a URL object.url - the URL locationurlConnectionOptions - optionsCopyright © 2001–2022 The Apache Software Foundation. All rights reserved.