public String resolveRelativeUri(String uri){
  if (uri.startsWith("/") || uri.startsWith(File.separator)) {
    return uri;
  }
 else {
    return baseURI + uri;
  }
}

public String resolveRelativeUri ( String uri ) { if ( uri . startsWith ( "/" ) || uri . startsWith ( File . separator ) ) { return uri ; } else { return baseURI + uri ; } }
get the full value of a uri relative to this compilations context uses current file as the base .
