/** * <p> * Answer the URL of the alternative copy of the ontology document with the given URI, if known, * or the URI unchanged if no alternative is known. * </p> * * @param uri The ontology document to lookup * @return The resolvable location of the alternative copy, if known, or <code>uri</code> otherwise */ public String doAltURLMapping( String uri ) { return getFileManager().mapURI( uri ); }
/** * <p> * Answer the URL of the alternative copy of the ontology document with the given URI, if known, * or the URI unchanged if no alternative is known. * </p> * * @param uri The ontology document to lookup * @return The resolvable location of the alternative copy, if known, or <code>uri</code> otherwise */ public String doAltURLMapping( String uri ) { return getFileManager().mapURI( uri ); }
/** Open a file using the locators of this FileManager */ public InputStream open(String filenameOrURI) { if ( log.isDebugEnabled()) log.debug("open("+filenameOrURI+")") ; String uri = mapURI(filenameOrURI) ; if ( log.isDebugEnabled() && ! uri.equals(filenameOrURI) ) log.debug("open: mapped to "+uri) ; return openNoMap(uri) ; }
/** Open a file using the locators of this FileManager */ public InputStream open(String filenameOrURI) { if ( log.isDebugEnabled()) log.debug("open("+filenameOrURI+")") ; String uri = mapURI(filenameOrURI) ; if ( log.isDebugEnabled() && ! uri.equals(filenameOrURI) ) log.debug("open: mapped to "+uri) ; return openNoMap(uri) ; }
public TarqlParser(String filenameOrURL) { this(open(filenameOrURL), FileManager.get().mapURI(filenameOrURL)); }
protected Model readModelWorker(Model model, String filenameOrURI, String baseURI, String syntax) String mappedURI = mapURI(filenameOrURI) ;
protected Model readModelWorker(Model model, String filenameOrURI, String baseURI, String syntax) String mappedURI = mapURI(filenameOrURI) ;