@Test public void loadResourceAsStream() throws IOException { propertiesFile.loadResourceAsStream("/" + Resources.MAPS_P); assertThat(propertiesFile.getProperty(Resources.MAP_ID), is(Resources.MAP_NAME)); assertThat(propertiesFile.getProperty(Resources.MAP_KEY), is(Resources.MAP_VALUE)); }
public final void loadResourceAsStream(final String srcFile) throws IOException { properties = new Properties(); properties.load(PropertiesFile.class.getResourceAsStream(srcFile)); }
PropertiesFile { public final void loadResourceAsStream(final String srcFile) throws IOException { properties = new Properties(); properties.load(PropertiesFile.class.getResourceAsStream(srcFile)); } }
PropertiesFile { public final void loadResourceAsStream(final String srcFile) throws IOException { properties = new Properties(); properties.load(PropertiesFile.class.getResourceAsStream(srcFile)); }  }
PropertiesFile { public final void loadResourceAsStream(final String srcFile) throws IOException { properties = new Properties(); properties.load(PropertiesFile.class.getResourceAsStream(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 loadResourceAsStream(final String srcFile) throws IOException { properties = new Properties(); properties.load(PropertiesFile.class.getResourceAsStream(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();  }