code: public static String getPathSeparator(String separator, String... path)
      {
          Check.notNull(separator);
          Check.notNull(path);
  
          final StringBuilder fullPath = new StringBuilder(path.length);
          for (int i = 0; i < path.length; i++)
          {
              if (i == path.length - 1)
              {
                  fullPath.append(path[i]);
              }
              else if (path[i] != null && path[i].length() > 0)
              {
                  fullPath.append(path[i]);
                  if (!fullPath.substring(fullPath.length() - 1, fullPath.length()).equals(separator))
                  {
                      fullPath.append(separator);
                  }
              }
          }
          return fullPath.toString();
      }
docs: Construct a usable path using a list of string, automatically separated by the portable separator.
  
  @param separator The separator to use (must not be <code>null</code>).
  @param path The list of directories, if has, and file (must not be <code>null</code>).
  @return The full media path.
  @throws LionEngineException If invalid parameters.