diff --git a/docs/propertyfile.html b/docs/propertyfile.html index 75cd861a9..37bab1d42 100644 --- a/docs/propertyfile.html +++ b/docs/propertyfile.html @@ -10,10 +10,11 @@
by
Version 1.0 - 2000/11/02
+Version 1.1 - 2001/01/28
Use nested <entry>
+
Use nested <entry>
elements to specify actual modifcations to the property file itself
value | -Value to set for the key the property name/value pair | +Value to set (=), to add (+) or subtract (-) | Yes | |
type | -Manipulate the value as type: int, date | -No, but must be used if opertion attribute used | +Regard the value as : int, date or string (default) | +No |
operation | -If type is date, this cane be "now" or "never". If the type is int, only "-" and "+" may be used. | +"+" or "=" (default) for all datatypes "-" (for date and int only). + |
+ No | +|
default | +Initial value to set for a property if it is not
+ already defined in the property file. + For type date, two additional keywordsw are allowed: "now" or "never". |
+ No | +||
pattern | +For int and date type only. If present, Values will + be paresed and formated accordingly. | No |
+To produce dates relative from today : +
+ +<propertyfile + file="my.properties" + comment"My properties" > + <entry key="formated.date-1" + type="date" default="now" pattern="DDD" + operation="-" value="1"/> + <entry key="formated.tomorrow" + type="date" default="now" pattern="DDD" + operation="+" value="1"/> +</propertyfile> +
+Concatenation of strings : +
+Each time called, a "." will be appended to "progress" +<propertyfile + file="my.properties" + comment"My properties" > + <entry key="progress" default="" operation="+" value="."/> +</propertyfile> +