/** * Loads a set of compatibility mappings from the property file * specified by the given URL. */ public static void loadMappingProperties( URL u ) throws IOException { logger.log(Level.FINE, "Loading mapping properties:{0}", u); InputStream in = u.openStream(); try { Properties p = new Properties(); p.load(in); addMappings(p); } finally { in.close(); } }
/** * Loads a set of compatibility mappings from the property file * specified by the given URL. */ public static void loadMappingProperties( URL u ) throws IOException { logger.log(Level.FINE, "Loading mapping properties:{0}", u); InputStream in = u.openStream(); try { Properties p = new Properties(); p.load(in); addMappings(p); } finally { in.close(); } }