Uses of Class
org.apache.commons.configuration2.io.FileHandler
Packages that use 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
Methods in org.apache.commons.configuration2.builder that return FileHandlerModifier and TypeMethodDescriptionFileBasedBuilderParametersImpl.getFileHandler()Gets theFileHandlermanaged by this object.FileBasedConfigurationBuilder.getFileHandler()Gets theFileHandlerassociated with this builder.Methods in org.apache.commons.configuration2.builder with parameters of type FileHandlerModifier and TypeMethodDescriptionDefaultReloadingDetectorFactory.createReloadingDetector(FileHandler handler, FileBasedBuilderParametersImpl params) ReloadingDetectorFactory.createReloadingDetector(FileHandler handler, FileBasedBuilderParametersImpl params) Creates a newReloadingDetectorobject based on the passed in parameters.protected ReloadingDetectorReloadingFileBasedConfigurationBuilder.createReloadingDetector(FileHandler handler, FileBasedBuilderParametersImpl fbparams) Creates aReloadingDetectorwhich monitors the passed inFileHandler.protected voidFileBasedConfigurationBuilder.initFileHandler(FileHandler handler) Initializes the new currentFileHandler.protected voidReloadingFileBasedConfigurationBuilder.initFileHandler(FileHandler handler) Initializes the new currentFileHandler.Constructors in org.apache.commons.configuration2.builder with parameters of type FileHandlerModifierConstructorDescriptionCreates a new instance ofFileBasedBuilderParametersImpland associates it with the givenFileHandlerobject. -
Uses of FileHandler in org.apache.commons.configuration2.io
Methods in org.apache.commons.configuration2.io that return FileHandlerModifier and TypeMethodDescriptionstatic FileHandlerCreates a newFileHandlerinstance from properties stored in a map.Methods in org.apache.commons.configuration2.io with parameters of type FileHandlerModifier and TypeMethodDescriptionvoidFileHandlerListener.loaded(FileHandler handler) Notification that the associated file has been loaded.voidFileHandlerListenerAdapter.loaded(FileHandler handler) voidFileHandlerListener.loading(FileHandler handler) Notification that the associated file is about to be loaded.voidFileHandlerListenerAdapter.loading(FileHandler handler) voidFileHandlerListener.locationChanged(FileHandler handler) Notification that a property of the monitoredFileHandlerhas changed.voidFileHandlerListenerAdapter.locationChanged(FileHandler handler) voidFileHandlerListener.saved(FileHandler handler) Notification that the associated file has been saved.voidFileHandlerListenerAdapter.saved(FileHandler handler) voidFileHandlerListener.saving(FileHandler handler) Notification that the associated file is about to be saved.voidFileHandlerListenerAdapter.saving(FileHandler handler) Constructors in org.apache.commons.configuration2.io with parameters of type FileHandlerModifierConstructorDescriptionFileHandler(FileBased obj, FileHandler c) Creates a new instance ofFileHandlerwhich is associated with the givenFileBasedobject and the location defined for the givenFileHandlerobject. -
Uses of FileHandler in org.apache.commons.configuration2.reloading
Methods in org.apache.commons.configuration2.reloading that return FileHandlerModifier and TypeMethodDescriptionFileHandlerReloadingDetector.getFileHandler()Gets theFileHandlerassociated with this object.Constructors in org.apache.commons.configuration2.reloading with parameters of type FileHandlerModifierConstructorDescriptionFileHandlerReloadingDetector(FileHandler handler) Creates a new instance ofFileHandlerReloadingDetectorand initializes it with theFileHandlerto monitor and a default refresh delay.FileHandlerReloadingDetector(FileHandler handler, long refreshDelayMillis) Creates a new instance ofFileHandlerReloadingDetectorand initializes it with theFileHandlerto monitor and the refresh delay.Creates a new instance ofVFSFileHandlerReloadingDetectorand initializes it with the givenFileHandlerobject.VFSFileHandlerReloadingDetector(FileHandler handler, long refreshDelay) Creates a new instance ofVFSFileHandlerReloadingDetectorand initializes it with the givenFileHandlerobject and the given refresh delay.