读取配置文件

Properties

  1. Properties props = new Properties();
  2. FileInputStream file = new FileInputStream("XXX.Properties")
  3. props.load(file);
  4. file.close();
  5. props.get();