Java tutorial
import java.io.FileInputStream; import java.util.Properties; public class Load { public static void main(String args[]) throws Exception { Properties p = new Properties(); p.load(new FileInputStream("colon.txt")); p.getProperty("foo"); } }