Contains definitions for KVP (key/value pair) parsers.
Key/value paired data is represented as follows:
key1 = value1
key2 = value2
...
keyN = valueN
Where:
-
key can contain any character - except newlines or equals.
To include an equals, one must escape the equals like so:
some\=key = some value
-
value can contain any character - including newlines or equals.
To include an equals, one must escape the equals like so:
some\=key = some value
. Likewise, to include a newline,
one must end the line with a backslash like so:
some key 1 = foo\
bar
The value will contain foo a backslash, a new line
and bar
.
Modifications:
$Date: 2008-12-02 12:32:45 -0500 (Tue, 02 Dec 2008) $
$Revision: 479 $
$Author: sfloess $
$HeadURL: https://jplate.svn.sourceforge.net/svnroot/jplate/trunk/src/dev/java/org/jplate/kvp/parser/package.html $