Advanced Topics:

1. Changing defaults

2. Name changer

1. Changing defaults

The framework employs several markers for all kinds of purposes - delimiting commentaries, signaling section names, grouping values or names that contain blank characters etc. All these seem predefined, but actually they can be modified and/or extended to suit your fancy/needs. What you need to do is to modify the constants (final static) parameters in the Constants class (the names should be self-explanatory) in the net.sourceforge.drpetrea.dpjtools packaged in the jSettings jar. Please remember that you should also rebuild the whole thing for the changes to take effect.

The same applies for changing the extensions that will be considered ini or fstab settings files.

2. Name changer

The settings read from a file will automatically receive as their highest level the name of the respective file (less the extension). This can be changed by having as the first line of the file the following:

Name: New Name

In this case the highest hierarchical level will not be the file name, but New Name. One can also change the marker for the name changer from Name: the same way as in the previous section.


Previous Home
5. Intended Usage Table Of Contents

Valid XHTML 1.0 Transitional