Java org.apache.commons.configuration.io FileHandler fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.configuration.io FileHandler fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.configuration.io FileHandler.

The text is from its open source code.

Constructor

FileHandler(FileBased obj)
Creates a new instance of FileHandler and sets the managed FileBased object.

Method

voidload()
Loads the associated file from the underlying location.
voidload(String fileName)
Loads the associated file from the given file name.
voidload(File file)
Loads the associated file from the specified File .
voidload(URL url)
Loads the associated file from the specified URL.
voidload(InputStream in)
Loads the associated file from the specified stream, using the encoding returned by #getEncoding() .
voidload(Reader in)
Loads the associated file from the specified reader.
voidload(FileLocator locator)
Internal helper method for loading the associated file from the location specified in the given FileLocator .
voidsave(String fileName)
Saves the associated file to the specified file name.
voidsave(URL url)
Saves the associated file to the specified URL.
voidsave(File file)
Saves the associated file to the specified File .
voidsave(OutputStream out)
Saves the associated file to the specified stream using the encoding returned by #getEncoding() .
voidsave(Writer out)
Saves the associated file to the given Writer .
voidsave(FileLocator locator)
Internal helper method for saving data to the internal location stored for this object.
voidsetFile(File file)
Sets the location of the associated file as a File object.
voidsetFileName(String fileName)
Set the name of the file.
voidsetURL(final URL url)
Sets the location of the associated file as a URL.