protected void parseAndAddMapTileSet(URL tileSetProperties) throws IOException, MalformedURLException {
  Properties descProps=new Properties();
  Logger logger=getLogger();
  logger.info("going to read props");
  InputStream descURLStream=tileSetProperties.openStream();
  descProps.load(descURLStream);
  logger.info("loaded " + tileSetProperties.toString() + " "+ descProps.toString());
  MapTileSet mts=createMapTileSetFromProperties(descProps);
  if (mts != null && mts.allGood()) {
    String mtsName=mts.getName();
    mapTileSets.put(mts.getName(),mts);
    logger.info("Adding " + mtsName + " dataset");
  }
  descURLStream.close();
}

protected void parseAndAddMapTileSet ( URL tileSetProperties ) throws IOException , MalformedURLException { Properties descProps = new Properties ( ) ; Logger logger = getLogger ( ) ; logger . info ( "going to read props" ) ; InputStream descURLStream = tileSetProperties . openStream ( ) ; descProps . load ( descURLStream ) ; logger . info ( "loaded " + tileSetProperties . toString ( ) + " " + descProps . toString ( ) ) ; MapTileSet mts = createMapTileSetFromProperties ( descProps ) ; if ( mts != null && mts . allGood ( ) ) { String mtsName = mts . getName ( ) ; mapTileSets . put ( mts . getName ( ) , mts ) ; logger . info ( "Adding " + mtsName + " dataset" ) ; } descURLStream . close ( ) ; }
given a url to a properties file describing a maptileset , create it and add it to the list .
