Example usage for Java org.apache.commons.configuration.io FileHandler fields, constructors, methods, implement or subclass
The text is from its open source code.
FileHandler(FileBased obj) Creates a new instance of FileHandler and sets the managed FileBased object. |
void | load() Loads the associated file from the underlying location. |
void | load(String fileName) Loads the associated file from the given file name. |
void | load(File file) Loads the associated file from the specified File . |
void | load(URL url) Loads the associated file from the specified URL. |
void | load(InputStream in) Loads the associated file from the specified stream, using the encoding returned by #getEncoding() . |
void | load(Reader in) Loads the associated file from the specified reader. |
void | load(FileLocator locator) Internal helper method for loading the associated file from the location specified in the given FileLocator . |
void | save(String fileName) Saves the associated file to the specified file name. |
void | save(URL url) Saves the associated file to the specified URL. |
void | save(File file) Saves the associated file to the specified File . |
void | save(OutputStream out) Saves the associated file to the specified stream using the encoding returned by #getEncoding() . |
void | save(Writer out) Saves the associated file to the given Writer . |
void | save(FileLocator locator) Internal helper method for saving data to the internal location stored for this object. |
void | setFile(File file) Sets the location of the associated file as a File object. |
void | setFileName(String fileName) Set the name of the file. |
void | setURL(final URL url) Sets the location of the associated file as a URL. |