看javaAPIjava.util.PropertiesProperties prop = new Properties();prop.load(InputStream inStream); prop.getProperty(String key);