public interface FileBased
Definition of an interface to be implemented by objects which know how to read and write themselves from or to a character stream.
This interface is implemented by special implementations of the
Configuration interface which are associated with a file. It demands
only basic methods for doing I/O based on character stream objects. Based on
these methods it is possible to implement other methods which operate on
files, file names, URLs, etc.
Note that the methods defined by this interface are not intended to
be called directly by client code! Rather, they are used internally
when doing I/O operations with a
supports additional functionality (e.g. it evaluates some additional
FileBased object may implement); this functionality
is not available on a direct method invocation, so this may lead to
void read(Reader in) throws ConfigurationException, IOException
FileHandlerfor reading data.
void write(Writer out) throws ConfigurationException, IOException
FileHandlerfor writing data.
Copyright © 2001–2018 The Apache Software Foundation. All rights reserved.