Package | Description |
---|---|
org.apache.commons.configuration2.builder |
This package contains the implementations of configuration builder
classes used to create new
Configuration objects. |
org.apache.commons.configuration2.io |
A package with classes related to I/O operations.
|
org.apache.commons.configuration2.reloading |
This package contains classes and interfaces related to the reloading mechanism.
|
Modifier and Type | Method and Description |
---|---|
FileHandler |
FileBasedConfigurationBuilder.getFileHandler()
Returns the
FileHandler associated with this builder. |
FileHandler |
FileBasedBuilderParametersImpl.getFileHandler()
Returns the
FileHandler managed by this object. |
Modifier and Type | Method and Description |
---|---|
ReloadingDetector |
ReloadingDetectorFactory.createReloadingDetector(FileHandler handler,
FileBasedBuilderParametersImpl params)
Creates a new
ReloadingDetector object based on the passed in
parameters. |
protected ReloadingDetector |
ReloadingFileBasedConfigurationBuilder.createReloadingDetector(FileHandler handler,
FileBasedBuilderParametersImpl fbparams)
Creates a
ReloadingDetector which monitors the passed in
FileHandler . |
ReloadingDetector |
DefaultReloadingDetectorFactory.createReloadingDetector(FileHandler handler,
FileBasedBuilderParametersImpl params) |
protected void |
FileBasedConfigurationBuilder.initFileHandler(FileHandler handler)
Initializes the new current
FileHandler . |
protected void |
ReloadingFileBasedConfigurationBuilder.initFileHandler(FileHandler handler)
Initializes the new current
FileHandler . |
Constructor and Description |
---|
FileBasedBuilderParametersImpl(FileHandler handler)
Creates a new instance of
FileBasedBuilderParametersImpl and
associates it with the given FileHandler object. |
Modifier and Type | Method and Description |
---|---|
static FileHandler |
FileHandler.fromMap(Map<String,?> map)
Creates a new
FileHandler instance from properties stored in a
map. |
Modifier and Type | Method and Description |
---|---|
void |
FileHandlerListenerAdapter.loaded(FileHandler handler) |
void |
FileHandlerListener.loaded(FileHandler handler)
Notification that the associated file has been loaded.
|
void |
FileHandlerListenerAdapter.loading(FileHandler handler) |
void |
FileHandlerListener.loading(FileHandler handler)
Notification that the associated file is about to be loaded.
|
void |
FileHandlerListenerAdapter.locationChanged(FileHandler handler) |
void |
FileHandlerListener.locationChanged(FileHandler handler)
Notification that a property of the monitored
FileHandler has
changed. |
void |
FileHandlerListenerAdapter.saved(FileHandler handler) |
void |
FileHandlerListener.saved(FileHandler handler)
Notification that the associated file has been saved.
|
void |
FileHandlerListenerAdapter.saving(FileHandler handler) |
void |
FileHandlerListener.saving(FileHandler handler)
Notification that the associated file is about to be saved.
|
Constructor and Description |
---|
FileHandler(FileBased obj,
FileHandler c)
Creates a new instance of
FileHandler which is associated with
the given FileBased object and the location defined for the given
FileHandler object. |
Modifier and Type | Method and Description |
---|---|
FileHandler |
FileHandlerReloadingDetector.getFileHandler()
Returns the
FileHandler associated with this object. |
Constructor and Description |
---|
FileHandlerReloadingDetector(FileHandler handler)
Creates a new instance of
FileHandlerReloadingDetector and
initializes it with the FileHandler to monitor and a default
refresh delay. |
FileHandlerReloadingDetector(FileHandler handler,
long refreshDelay)
Creates a new instance of
FileHandlerReloadingDetector and
initializes it with the FileHandler to monitor and the refresh
delay. |
VFSFileHandlerReloadingDetector(FileHandler handler)
Creates a new instance of
VFSFileHandlerReloadingDetector and
initializes it with the given FileHandler object. |
VFSFileHandlerReloadingDetector(FileHandler handler,
long refreshDelay)
Creates a new instance of
VFSFileHandlerReloadingDetector and
initializes it with the given FileHandler object and the given
refresh delay. |
Copyright © 2001–2018 The Apache Software Foundation. All rights reserved.