public void readGraphics(URL cacheURL) throws IOException {
  try {
    ObjectInputStream objstream=new ObjectInputStream(cacheURL.openStream());
    if (Debug.debugging("omgraphics")) {
      Debug.output("OMGraphicList: Opened " + cacheURL.toString());
    }
    readGraphics(objstream);
    objstream.close();
    if (Debug.debugging("omgraphics")) {
      Debug.output("OMGraphicList: closed " + cacheURL.toString());
    }
  }
 catch (  ArrayIndexOutOfBoundsException aioobe) {
    throw new com.bbn.openmap.util.HandleError(aioobe);
  }
catch (  ClassCastException cce) {
    cce.printStackTrace();
  }
}

public void readGraphics ( URL cacheURL ) throws IOException { try { ObjectInputStream objstream = new ObjectInputStream ( cacheURL . openStream ( ) ) ; if ( Debug . debugging ( "omgraphics" ) ) { Debug . output ( "OMGraphicList: Opened " + cacheURL . toString ( ) ) ; } readGraphics ( objstream ) ; objstream . close ( ) ; if ( Debug . debugging ( "omgraphics" ) ) { Debug . output ( "OMGraphicList: closed " + cacheURL . toString ( ) ) ; } } catch ( ArrayIndexOutOfBoundsException aioobe ) { throw new com . bbn . openmap . util . HandleError ( aioobe ) ; } catch ( ClassCastException cce ) { cce . printStackTrace ( ) ; } }
read a cache of omgraphics , given an url .
