public static Properties loadPropertiesFromFile(final String path) { try { return loadPropertiesFromStream(new FileInputStream(path)); } catch (FileNotFoundException e) { return chuck(e); } }
public static Properties loadPropertiesFromUrl(final URL url) { try { return loadPropertiesFromStream(url.openStream()); } catch (IOException e) { return chuck(e); } }