@Test public void getProperty() { assertThat(PropFileMaps.getProperty(Resources.MAP_ID), is(Resources.MAP_NAME)); assertThat(PropFileMaps.getProperty(Resources.MAP_KEY), is(Resources.MAP_VALUE)); assertThat(PropFileMaps.getProperty("code"), nullValue()); assertThat(PropFileMaps.getProperty("descr"), nullValue()); }
public static final String getProperty(final Properties properties, final String property) { try { return properties.getProperty(property).trim(); } catch (NullPointerException e) { return null; } }
PropFile { public static final String getProperty(final Properties properties, final String property) { try { return properties.getProperty(property).trim(); } catch (NullPointerException e) { return null; } } }
PropFile { public static final String getProperty(final Properties properties, final String property) { try { return properties.getProperty(property).trim(); } catch (NullPointerException e) { return null; } }  }
PropFile { public static final String getProperty(final Properties properties, final String property) { try { return properties.getProperty(property).trim(); } catch (NullPointerException e) { return null; } }  static final Properties getProperties(final String srcFile, final boolean internal); static final String getProperty(final Properties properties, final String property); }
PropFile { public static final String getProperty(final Properties properties, final String property) { try { return properties.getProperty(property).trim(); } catch (NullPointerException e) { return null; } }  static final Properties getProperties(final String srcFile, final boolean internal); static final String getProperty(final Properties properties, final String property);  }