public class Load { public static void main (String args[]) throws Exception {
Properties p = new Properties();
p.load(new FileInputStream("colon.txt"));
p.getProperty("foo");
}
}
//bar
//File: test.txt
/*
foo:bar
one
two
three=four
five six seven eight
nine ten