code: public static String pathStringFromComponents(String[] components) {
          if (null == components || components.length == 0) {
              return null;
          }
          return cleanPath(join(components, SEPARATOR));
      }
docs: create a path from an array of components
  @param components path components strings
  @return a path string