- <init>
Creates a new instance of FileHandler based on the given FileBased and
FileLocator objects.
- load
Internal helper method for loading the associated file from the location
specified in the given File
- save
Internal helper method for saving data to the internal location stored for this
object.
- setFileName
Set the name of the file. The passed in file name can contain a relative path.
It must be used when
- addFileHandlerListener
Adds a listener to this FileHandler. It is notified about property changes and
IO operations.
- checkContent
Checks whether a content object is available. If not, an exception is thrown.
This method is called
- checkContentAndGetLocator
Checks whether a content object is available and returns the current
FileLocator. If there is no con
- checkSourceHandler
Helper method for checking a file handler which is to be copied. Throws an
exception if the handler
- closeSilent
A helper method for closing a stream. Occurring exceptions will be ignored.
- createLocatorWithFileName
Creates a FileLocator which is a copy of the passed in one, but has the given
file name set to refer
- emptyFileLocator
Creates an uninitialized file locator.
- fetchSynchronizerSupport
Obtains a SynchronizerSupport for the current content. If the content implements
this interface, it