public void loadDataset(URL url,IRI context,ParserConfig config) throws RepositoryException {
  try {
    Long since=lastModified.get(url);
    URLConnection urlCon=url.openConnection();
    if (since != null) {
      urlCon.setIfModifiedSince(since);
    }
    if (since == null || since < urlCon.getLastModified()) {
      load(url,urlCon,context,config);
    }
  }
 catch (  RDFParseException e) {
    throw new RepositoryException(e);
  }
catch (  IOException e) {
    throw new RepositoryException(e);
  }
}

public void loadDataset ( URL url , IRI context , ParserConfig config ) throws RepositoryException { try { Long since = lastModified . get ( url ) ; URLConnection urlCon = url . openConnection ( ) ; if ( since != null ) { urlCon . setIfModifiedSince ( since ) ; } if ( since == null || since < urlCon . getLastModified ( ) ) { load ( url , urlCon , context , config ) ; } } catch ( RDFParseException e ) { throw new RepositoryException ( e ) ; } catch ( IOException e ) { throw new RepositoryException ( e ) ; } }
inspects if the dataset at the supplied url location has been modified since the last load into this repository and if so loads it into the supplied context .
