Uses of Class
org.apache.commons.configuration2.io.FileHandler
Package
Description
This package contains the implementations of configuration builder classes used to create new
Configuration
objects.
A package with classes related to I/O operations.
This package contains classes and interfaces related to the reloading mechanism.
-
Uses of FileHandler in org.apache.commons.configuration2.builder
Modifier and TypeMethodDescriptionFileBasedBuilderParametersImpl.getFileHandler()
Gets theFileHandler
managed by this object.FileBasedConfigurationBuilder.getFileHandler()
Gets theFileHandler
associated with this builder.Modifier and TypeMethodDescriptionDefaultReloadingDetectorFactory.createReloadingDetector
(FileHandler handler, FileBasedBuilderParametersImpl params) ReloadingDetectorFactory.createReloadingDetector
(FileHandler handler, FileBasedBuilderParametersImpl params) Creates a newReloadingDetector
object based on the passed in parameters.protected ReloadingDetector
ReloadingFileBasedConfigurationBuilder.createReloadingDetector
(FileHandler handler, FileBasedBuilderParametersImpl fbparams) Creates aReloadingDetector
which monitors the passed inFileHandler
.protected void
FileBasedConfigurationBuilder.initFileHandler
(FileHandler handler) Initializes the new currentFileHandler
.protected void
ReloadingFileBasedConfigurationBuilder.initFileHandler
(FileHandler handler) Initializes the new currentFileHandler
.ModifierConstructorDescriptionCreates a new instance ofFileBasedBuilderParametersImpl
and associates it with the givenFileHandler
object. -
Uses of FileHandler in org.apache.commons.configuration2.io
Modifier and TypeMethodDescriptionstatic FileHandler
Creates a newFileHandler
instance from properties stored in a map.Modifier and TypeMethodDescriptionvoid
FileHandlerListener.loaded
(FileHandler handler) Notification that the associated file has been loaded.void
FileHandlerListenerAdapter.loaded
(FileHandler handler) void
FileHandlerListener.loading
(FileHandler handler) Notification that the associated file is about to be loaded.void
FileHandlerListenerAdapter.loading
(FileHandler handler) void
FileHandlerListener.locationChanged
(FileHandler handler) Notification that a property of the monitoredFileHandler
has changed.void
FileHandlerListenerAdapter.locationChanged
(FileHandler handler) void
FileHandlerListener.saved
(FileHandler handler) Notification that the associated file has been saved.void
FileHandlerListenerAdapter.saved
(FileHandler handler) void
FileHandlerListener.saving
(FileHandler handler) Notification that the associated file is about to be saved.void
FileHandlerListenerAdapter.saving
(FileHandler handler) ModifierConstructorDescriptionFileHandler
(FileBased obj, FileHandler c) Creates a new instance ofFileHandler
which is associated with the givenFileBased
object and the location defined for the givenFileHandler
object. -
Uses of FileHandler in org.apache.commons.configuration2.reloading
Modifier and TypeMethodDescriptionFileHandlerReloadingDetector.getFileHandler()
Gets theFileHandler
associated with this object.ModifierConstructorDescriptionFileHandlerReloadingDetector
(FileHandler handler) Creates a new instance ofFileHandlerReloadingDetector
and initializes it with theFileHandler
to monitor and a default refresh delay.FileHandlerReloadingDetector
(FileHandler handler, long refreshDelayMillis) Creates a new instance ofFileHandlerReloadingDetector
and initializes it with theFileHandler
to monitor and the refresh delay.Creates a new instance ofVFSFileHandlerReloadingDetector
and initializes it with the givenFileHandler
object.VFSFileHandlerReloadingDetector
(FileHandler handler, long refreshDelay) Creates a new instance ofVFSFileHandlerReloadingDetector
and initializes it with the givenFileHandler
object and the given refresh delay.