1. Introduction
jSettings is a Java frameworkk for working with external settings. It is intended to be
a powerful tool for the programmer of Java applications, allowing her easy access to
loading, modifying and saving program settings.
All the below characteristics can be subject to change in the future if there is enough interest
from my part or from the users' side. The following list presents the situation at the moment
of writting and is not meant to show the desired end state of the package.
-
jSettings deals with already loaded settings (in the structures
provided by the package) and with external files of
ini
and
fstab
types - please see the next chapters for a further
discussion on what these mean. Support for xml
files and for alternative
settings input (maybe console, streams etc)could be implemented in the future.
-
External files can be read only from the file system.
-
The package is written in Java 5.0 and backporting for previous versions is unlikely
-
Available in English, but featuring i18n support.
As with the scope, the list of features is neither exhaustive nor immovable. Please let me know
if you feel something should be added.
-
Powerful support for sections - settings can be organized in multi-level nested
sections
-
Built-in support for default value for settings.
-
Possibility of defining validation rules (as regex) for each setting.
-
Settings only handled as
String
.
-
Settings can be read from external files either in ASCII format or several files
grouped in zip archives.
-
Settings can be modified after they are loaded and these modifications
can be exported back to the files, even to those in zip archives.
-
Lets the programmer and the user differentiate between system-wide and user-specific
settings.
-
Extensive debugging messages, built with the standard Java
Logger
framework.
-
Support for i18n.
-
Support for commentaries in the settings files.
-
Highly customizable interface - comment, section and grouping marks, asignation
characters, file extensions etc can be changed or new ones can be added to support
different programmer environments.
-
Support for undoing modifications is under development
-
A GUI is planned for future releases.
|
Home |
Next |
|
Table Of Contents |
2. Settings Types |