8.2 Format of property files
Specify parameters in the following format:
parameter=value
How to specify parameters
-
A value extends up to an end-of-line character.
-
A line beginning with a hash mark (#) is treated as a comment.
-
A null line is ignored.
-
A value cannot be followed by a character string such as a comment. If a character string is added, the value is interpreted as being invalid.
-
If the same parameter is specified more than once, the last specification takes effect. For example, false would take effect if the following were specified:
eads.client.logger.message.console.enable=true eads.client.logger.message.console.enable=false
If the application programs are coded in C, also note the following:
-
The permitted characters are 0x20 through 0x7E in ASCII codes, the newline character (\n), the carriage return character (\r), and the tab (\t).
-
Specify one parameter per line. One line extends through an end-of-line character (\n or \r\n) or an EOF (end of file).
-
The equal sign (=), space, and tab can be used as delimiters (between a parameter name and a value).
-
If two or more delimiters are specified consecutively, the second and any subsequent delimiters are interpreted as a part of the value.
- Example 1: a=b=c
-
EADS interprets that a is the parameter name and b=c is the value.
- Example 2: a b = c
-
EADS interprets that a is the parameter name and b = c is the value.
-
If no value is specified (that is, if only a parameter name and a delimiter are specified), the value is interpreted as a null character string.
-
A line containing control characters or only a parameter name is ignored.
-
Although a space or a tab can be specified before and after a parameter name and a value, EADS ignores the specified space or tab when it interprets the parameter.
- Example: a=b
-
Note: indicates a space or a tab.
EADS interprets that a is the parameter name and b is the value.