public void init(String prefix,java.net.URL url){
  try {
    java.io.InputStream in=url.openStream();
    Properties props=new Properties();
    props.load(in);
    init(getLayers(prefix,props));
  }
 catch (  java.net.MalformedURLException murle) {
    logger.warning("LayerHandler.init(URL): " + url + " is not a valid URL");
  }
catch (  java.io.IOException e) {
    logger.warning("LayerHandler.init(URL): Caught an IOException");
  }
}

public void init ( String prefix , java . net . URL url ) { try { java . io . InputStream in = url . openStream ( ) ; Properties props = new Properties ( ) ; props . load ( in ) ; init ( getLayers ( prefix , props ) ) ; } catch ( java . net . MalformedURLException murle ) { logger . warning ( "LayerHandler.init(URL): " + url + " is not a valid URL" ) ; } catch ( java . io . IOException e ) { logger . warning ( "LayerHandler.init(URL): Caught an IOException" ) ; } }
initialize the layerhandler by having it construct it ' s layers from a url containing an openmap . properties file .
