Class URLUtility

java.lang.Object
org.serviceconnector.util.URLUtility

public final class URLUtility extends Object
The Class URLUtility.
  • Field Details

    • URL_SEPERATOR_CHAR

      public static final char URL_SEPERATOR_CHAR
      The Constant URL_SEPERATOR_CHAR.
      See Also:
    • URL_SEPERATOR

      public static final String URL_SEPERATOR
      The Constant URL_SEPERATOR.
      See Also:
  • Method Details

    • makePath

      public static String makePath(String path, String file)
      Make and return a valid url root path. This method replaces any file system separators by its url separator and verifies and sets all required slashes between both parts.
      Parameters:
      path - the path
      file - the file
      Returns:
      the url path string