code: public static List<String> tokenize_path(String path) {
          String[] toks = path.split(SEPERATOR);
          ArrayList<String> rtn = new ArrayList<String>();
          for (String str : toks) {
              if (!str.isEmpty()) {
                  rtn.add(str);
              }
          }
          return rtn;
      }
docs: split path as list
  
  @param path
  @return