code: private String getSubPath(String[] pathElements, int begin) {
  
          String result = "";
          for (int i = begin; i < pathElements.length; i++) {
              result += pathElements[i] + "/";
          }
          if (result.length() > 0) {
              result = result.substring(0, result.length() - 1);
          }
          return result;
      }
docs: Utility method to return a path fragment.<p>
  
  @param pathElements the path elements
  @param begin the begin index
  
  @return the path