1. # setting.properties
    2. last_open_file=/data/hello.txt
    3. auto_save_interval=60
    1. String f = "setting.properties";
    2. Properties props = new Properties();
    3. props.load(new java.io.FileInputStream(f));
    4. String filepath = props.getProperty("last_open_file");
    5. String interval = props.getProperty("auto_save_interval", "120");