Debian Codegraph @

autotests/input/test.properties

raw
1 # Java Properties Sample File
2
3 # This is a commment
4 ! This is also a comment
5 # comment
6 ! comment
7
8 # keys and values can be separated by '=', ':' or by a series of spaces:
9
10 key = value
11 key : value
12 key value
13
14 # spaces, '=', or ':' can be used in the key by escaping them with a backslash:
15
16 key\:continued = value
17 key\=continued = value
18 key\ continued = value
19
20 # the key starts with the first non blank character on the line:
21
22 key = value
23
24 # there can be an arbitrary amount of spaces between the key, the value, and the ':' or '=', if present:
25
26 key=value
27 key = value
28
29 key:value
30 key : value
31
32 key value
33 key value
34
35 # values can be continued on another line by escaping the line end character with a backslash:
36
37 key = value \
38 value continued
39
40 # This works also over more than one line:
41
42 key = value\
43 value continued 1\
44 value continued 2\
45 value continued 3
46
47 # But if the line ends with an even number of backslashes, the value is not continued:
48
49 key = value\\
50 newkey = value
51
52 key = value\\\\
53 newkey = value
54
55 # both key and value can be ommitted, in which case either the key or the value or both equal the empty string:
56
57 key =
58 key
59 = value
60
61 =
62 :
63