public static Properties getProperties ( URL url ) throws IOException { Properties properties = new Properties ( ) ; InputStream inputStream = url . openStream ( ) ; try { properties . load ( inputStream ) ; } finally { inputStream . close ( ) ; } return properties ; }
Load values from a URL .