code: public static List<String> parsePath(String pPath) {
          // Special cases which simply implies 'no path'
          if (pPath == null || pPath.equals("") || pPath.equals("/")) {
              return null;
          }
          return replaceWildcardsWithNull(split(pPath, PATH_ESCAPE, "/"));
      }
docs: Parse a string path and return a list of split up parts.
  
  @param pPath the path to parse. Can be null
  @return list of path elements or null if the initial path is null.