propagate from branch 'i2p.i2p.zzz.test3' (head d847100f901613ad765312ac9fed6d578d08d907)

to branch 'i2p.i2p' (head 63ce4ace08b7b7ba01531f0951ffc47ed57411a6)
This commit is contained in:
zzz
2009-08-11 16:11:45 +00:00
16 changed files with 39 additions and 35 deletions

View File

@ -212,6 +212,11 @@ public class DataHelper {
/**
* A more efficient Properties.load
*
* Some of the other differences:
* - This does not process or drop backslashes
* - '#' or ';' starts a comment line, but '!' does not
* - Leading whitespace is not trimmed
* - '=' is the only key-termination character (not ':' or whitespace)
*/
public static void loadProps(Properties props, File file) throws IOException {
loadProps(props, file, false);