code: public static String pathElementsToPathStr(final Object... pathElts) {
          final StringBuilder buf = new StringBuilder();
          for (final Object pathElt : pathElts) {
              appendPathElt(pathElt, buf);
          }
          return buf.toString();
      }
docs: Get a set of path elements as a string, from an array of objects (e.g. of String, File or URL type, whose
  toString() method will be called to get the path component), and return the path as a single string
  delineated with the standard path separator character.
  
  @param pathElts
  The path elements.
  @return The delimited path formed out of the path elements.