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
10key = value
11key : value
12key value
13
14# spaces, '=', or ':' can be used in the key by escaping them with a backslash:
15
16key\:continued = value
17key\=continued = value
18key\ 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
26key=value
27key     =      value
28
29key:value
30key     :      value
31
32key value
33key                  value
34
35# values can be continued on another line by escaping the line end character with a backslash:
36
37key = value \
38  value continued
39
40# This works also over more than one line:
41
42key = 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
49key = value\\
50newkey = value
51
52key = value\\\\
53newkey = 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
57key =
58key
59= value
60
61=
62:
63
64