Uses of Class
org.apache.commons.configuration2.io.FileHandler
-
Packages that use FileHandler Package Description org.apache.commons.configuration2.builder This package contains the implementations of configuration builder classes used to create newConfiguration
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. -
-
Uses of FileHandler in org.apache.commons.configuration2.builder
Methods in org.apache.commons.configuration2.builder that return FileHandler Modifier and Type Method Description FileHandler
FileBasedBuilderParametersImpl. getFileHandler()
Gets theFileHandler
managed by this object.FileHandler
FileBasedConfigurationBuilder. getFileHandler()
Gets theFileHandler
associated with this builder.Methods in org.apache.commons.configuration2.builder with parameters of type FileHandler Modifier and Type Method Description ReloadingDetector
DefaultReloadingDetectorFactory. createReloadingDetector(FileHandler handler, FileBasedBuilderParametersImpl params)
ReloadingDetector
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
.Constructors in org.apache.commons.configuration2.builder with parameters of type FileHandler Constructor Description FileBasedBuilderParametersImpl(FileHandler handler)
Creates a new instance ofFileBasedBuilderParametersImpl
and associates it with the givenFileHandler
object. -
Uses of FileHandler in org.apache.commons.configuration2.io
Methods in org.apache.commons.configuration2.io that return FileHandler Modifier and Type Method Description static FileHandler
FileHandler. fromMap(java.util.Map<java.lang.String,?> map)
Creates a newFileHandler
instance from properties stored in a map.Methods in org.apache.commons.configuration2.io with parameters of type FileHandler Modifier and Type Method Description void
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)
Constructors in org.apache.commons.configuration2.io with parameters of type FileHandler Constructor Description FileHandler(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
Methods in org.apache.commons.configuration2.reloading that return FileHandler Modifier and Type Method Description FileHandler
FileHandlerReloadingDetector. getFileHandler()
Gets theFileHandler
associated with this object.Constructors in org.apache.commons.configuration2.reloading with parameters of type FileHandler Constructor Description FileHandlerReloadingDetector(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.VFSFileHandlerReloadingDetector(FileHandler handler)
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.
-