读取配置文件Properties读取配置文件PropertiesProperties props = new Properties();FileInputStream file = new FileInputStream("XXX.Properties")props.load(file);file.close();props.get();