readProperties
Reads key=value lines from each of fileNames and sets them as JVM system properties.
See the List overload for the accepted format.
Throws
if a file does not exist
Reads key=value lines from each of fileNames and sets them as JVM system properties.
The format is a simple subset of .properties: one key=value per line, split on the first =, with the key and value trimmed. Blank lines, comment lines starting with # or ! (after any leading whitespace), lines without =, and lines with an empty key are skipped. Escapes, line continuations, and : or whitespace separators are not supported.
Every file is checked and parsed before any property is set, so a missing file leaves the system properties unchanged. Properties from later files override earlier ones.
Throws
if a file does not exist