@Override public Resource createRelative(String relativePath) throws MalformedURLException {
  if (relativePath.startsWith("/")) {
    relativePath=relativePath.substring(1);
  }
  return new UrlResource(new URL(this.url,relativePath));
}

@ Override public Resource createRelative ( String relativePath ) throws MalformedURLException { if ( relativePath . startsWith ( "/" ) ) { relativePath = relativePath . substring ( 1 ) ; } return new UrlResource ( new URL ( this . url , relativePath ) ) ; }
this implementation creates a urlresource , applying the given path relative to the path of the underlying url of this resource descriptor .
