public String append(String superResource,String subResource){
  if (superResource.endsWith(delimiter) && subResource.startsWith(delimiter)) {
    superResource=superResource.substring(0,superResource.length() - 1);
  }
  if (!superResource.endsWith(delimiter) && !subResource.startsWith(delimiter)) {
    subResource=delimiter + subResource;
  }
  return superResource + subResource;
}

public String append ( String superResource , String subResource ) { if ( superResource . endsWith ( delimiter ) && subResource . startsWith ( delimiter ) ) { superResource = superResource . substring ( 0 , superResource . length ( ) - 1 ) ; } if ( ! superResource . endsWith ( delimiter ) && ! subResource . startsWith ( delimiter ) ) { subResource = delimiter + subResource ; } return superResource + subResource ; }
appends sub - resource to super - resource .
