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. | 
T setReloadingRefreshDelay(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(File file)
FileHandler as a File
 object.file - the File locationT setURL(URL url)
FileHandler as a URL
 object.url - the URL locationT setPath(String path)
FileHandler as an absolute
 file path.path - the path locationT setFileName(String name)
FileHandler.name - the file nameT setBasePath(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 FileLocationStrategyCopyright © 2001–2020 The Apache Software Foundation. All rights reserved.