net.sourceforge.drpetrea.jsettings
Class jSettings.IniModification

Object
  extended by jSettings.IniModification
Enclosing class:
jSettings

public static class jSettings.IniModification
extends Object

The class that maintains the changes to the ini settings. It would appear that a more elegant solution would be to have a map that has as key a combination of section and name (e.g. section:name) and as value a class containing the new value and the boolean system. However, that is prone to confusions when having the following situation:

Section1 = AAA, Name1 = BBB:CCC

Section2 = AAA:BBB, Name2 = CCC

The situation would appear extremely rarely, but it's still a possibility.


Field Summary
 Calendar c
          A Calendar containing the time of the modification
 String name
          The name of the setting being modified
 String prv
          The previous value of the setting
 String section
          The name of the section that contains the modified row
 boolean system
          true if it applies to system-wide settings, false for user-specific
 String value
          The new value of the setting
 
Method Summary
 String toString()
           
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

section

public String section
The name of the section that contains the modified row


name

public String name
The name of the setting being modified


value

public String value
The new value of the setting


prv

public String prv
The previous value of the setting


c

public Calendar c
A Calendar containing the time of the modification


system

public boolean system
true if it applies to system-wide settings, false for user-specific

Method Detail

toString

public String toString()
Overrides:
toString in class Object