IniEditor
=========

IniEditor is a small Java library to read and edit INI-style
configuration files. Its core feature is that it preserves the general
formatting of a loaded INI file: It represents comments, blank lines as
well as the order of sections and lines.


Installation
------------

Put the file ``lib/inieditor.jar`` on your classpath. Import the
``IniEditor`` class with the statement:

    import ch.ubique.inieditor.IniEditor;

Alternatively, you can compile the sources in the ``src`` directory
yourself.


Documentation
-------------

Open the file ``javadoc/index.html`` in a browser for the
Javadoc-generated documentation.


Changelog
---------

r1 (07/31/2003):
- initial public release

r2 (12/20/2003):
- added methods load(InputStreamReader) and save(OutputStreamWriter) to
  support character encodings other than the default one through readers
  and writers.

r3 (5/4/2005):
- fixed bug where loaded files weren't closed properly.

r4 (8/10/2005):
- added the concept of an option format which makes it possible to
  finetune the output format when saving to a file.


License
-------

IniEditor is Copyright (c) 2003-2005, Nik Haldimann (me@ubique.ch). It comes
with a BSD-style license: You may use and modify it freely as well as
redistribute it under certain conditions. See the ``LICENSE.txt`` file
for details.
