T - the type of the result of all set methods for method chainingFileBasedBuilderParameters, HierarchicalBuilderParameters, INIBuilderParameters, PropertiesBuilderParameters, XMLBuilderParametersFileBasedBuilderParametersImpl, HierarchicalBuilderParametersImpl, INIBuilderParametersImpl, PropertiesBuilderParametersImpl, XMLBuilderParametersImplpublic 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 | Description |
|---|---|---|
T |
setBasePath(java.lang.String path) |
Sets the base path of the associated
FileHandler. |
T |
setEncoding(java.lang.String enc) |
Sets the encoding of the associated
FileHandler. |
T |
setFile(java.io.File file) |
Sets the location of the associated
FileHandler as a File
object. |
T |
setFileName(java.lang.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(java.lang.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(java.lang.Long reloadingRefreshDelay) |
Sets the refresh delay for reloading support
|
T |
setURL(java.net.URL url) |
Sets the location of the associated
FileHandler as a URL
object. |
T setReloadingRefreshDelay(java.lang.Long reloadingRefreshDelay)
reloadingRefreshDelay - the refresh delay (in milliseconds)T 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 setFile(java.io.File file)
FileHandler as a File
object.file - the File locationT setURL(java.net.URL url)
FileHandler as a URL
object.url - the URL locationT setPath(java.lang.String path)
FileHandler as an absolute
file path.path - the path locationT setFileName(java.lang.String name)
FileHandler.name - the file nameT setBasePath(java.lang.String path)
FileHandler.path - the base pathT setFileSystem(FileSystem fs)
FileSystem of the associated FileHandler.fs - the FileSystemT setLocationStrategy(FileLocationStrategy strategy)
FileLocationStrategy for resolving the referenced file.strategy - the FileLocationStrategyT setEncoding(java.lang.String enc)
FileHandler.enc - the encodingCopyright © 2001–2018. All rights reserved.