|section||The INI section to lookup.||Yes.|
|key||The INI key to deal with. If this ends with a dot |
., the key is automatically assumed to be an auto-numbered value, e.g.
key = "key." would match a collection of keys
"key.1", etc. The operation below would apply on each of those keys.
|Yes, unless operation is |
"remove" (these operations may be applied to a whole section).
|value||The new value to set the INI key to.|
default is not specified; optional otherwise.
"1" for numeric data types, and to
"" for the
string type (i.e. the empty string), only for increment/decrement operations.
|default||A fallback value to set the INI key to if no other definition can be found, i.e. if parameter |
value is not specified, or if the key is not already defined in the INI file.
value is not specified; optional otherwise. When
dataType="date", the keyword
"now" is allowed.
Where no previous value is defined, defaults to
"now" for the
date type, and to
"0" for the
int type, only for increment/decrement operations.
|dataType||Instructs that entry values be treated as a certain data type during processing. Support currently exists for treating a property value as a date or an integer, instead of as a plain string. Can be used with the |
pattern parameter to define string parsing and output formatting, and/or with the
operation parameter to perform basic calculations.
|No; defaults to |
"string". Can also be set to
Overrides global patching behavior for specific entries, or allows basic calculations for numeric data types (i.e.
date). When this attribute is omitted, the specified entry will be set to the specified
Entries can be removed from the INI by specifying
default do not have to be set in this case). The entry is removed even if
keepOldValues is true. Using
operation="keep" preserves the original value of a key when using a
fromfile, even if
keepOldKeys is false. These operations are valid for all data types.
operation="+" performs an increment operation can on numeric data types, or an append operation on the
string type. For numeric types, a decrement operation can also be performed, where the
value is deducted from the original value of a key (or the specified
default, where no original value exists). Use parameter
unit to define the scope of increment/decrement on the
|No; defaults to |
"=". Valid values for all data types are
"keep". For numeric data types, the value
"-" (decrement) is also valid.
|unit||Defines the date component to modify when |
No; defaults to
"day". Can only be specified when
date". Valid values are
|pattern||For numeric data types, a string formatting pattern can be specified using conventional Java formatting placeholders. This defines both the input parsing and output formatting pattern for this entry. See javadoc for DecimalFormat (applies to |
int) and SimpleDateFormat (applies to
No. The default pattern for