@Test public void loadInputStream() throws IOException { propertiesFile.loadInputStream(FileUtil.getFile(Resources.MAPS_P).toString()); assertThat(propertiesFile.getProperty(Resources.MAP_ID), is(Resources.MAP_NAME)); assertThat(propertiesFile.getProperty(Resources.MAP_KEY), is(Resources.MAP_VALUE)); }
public final void loadInputStream(final String srcFile) throws IOException { properties = new Properties(); properties.load(new FileInputStream(srcFile)); }
PropertiesFile { public final void loadInputStream(final String srcFile) throws IOException { properties = new Properties(); properties.load(new FileInputStream(srcFile)); } }
PropertiesFile { public final void loadInputStream(final String srcFile) throws IOException { properties = new Properties(); properties.load(new FileInputStream(srcFile)); }  }
PropertiesFile { public final void loadInputStream(final String srcFile) throws IOException { properties = new Properties(); properties.load(new FileInputStream(srcFile)); }  final void loadInputStream(final String srcFile); final void loadResourceAsStream(final String srcFile); final void setProperties(final Properties properties); final String getProperty(final String property); final void clear(); }
PropertiesFile { public final void loadInputStream(final String srcFile) throws IOException { properties = new Properties(); properties.load(new FileInputStream(srcFile)); }  final void loadInputStream(final String srcFile); final void loadResourceAsStream(final String srcFile); final void setProperties(final Properties properties); final String getProperty(final String property); final void clear();  }