protected ColladaRoot parseCachedColladaFile(URL url,String linkBase) throws IOException, XMLStreamException {
  ColladaDoc colladaDoc;
  InputStream refStream=url.openStream();
  colladaDoc=new ColladaInputStream(refStream,WWIO.makeURI(linkBase));
  try {
    ColladaRoot refRoot=new ColladaRoot(colladaDoc);
    refRoot.parse();
    return refRoot;
  }
 catch (  XMLStreamException e) {
    refStream.close();
    throw e;
  }
}

protected ColladaRoot parseCachedColladaFile ( URL url , String linkBase ) throws IOException , XMLStreamException { ColladaDoc colladaDoc ; InputStream refStream = url . openStream ( ) ; colladaDoc = new ColladaInputStream ( refStream , WWIO . makeURI ( linkBase ) ) ; try { ColladaRoot refRoot = new ColladaRoot ( colladaDoc ) ; refRoot . parse ( ) ; return refRoot ; } catch ( XMLStreamException e ) { refStream . close ( ) ; throw e ; } }
open and parse the specified file expressed as a file : url . .
