code: public void loadTileSets (String path, Map<String, TileSet> tilesets)
          throws IOException
      {
          // get an input stream for this XML file
          InputStream is = ConfigUtil.getStream(path);
          if (is == null) {
              String errmsg = "Can't load tileset description file from " +
                  "classpath [path=" + path + "].";
              throw new FileNotFoundException(errmsg);
          }
  
          // load up the tilesets
          loadTileSets(is, tilesets);
      }
docs: Loads all of the tilesets specified in the supplied XML tileset
  description file and places them into the supplied map indexed
  by tileset name. This method is not reentrant, so don't go calling
  it from multiple threads.
  
  @param path a path, relative to the classpath, at which the tileset
  definition file can be found.
  @param tilesets the map into which the tilesets will be placed,
  indexed by tileset name.