Class URIUtils


  • public class URIUtils
    extends Object
    Author:
    Pavol Loffay
    • Method Detail

      • path

        public static String path​(URI uri)
        Returns path of given URI. If the first character of path is '/' then it is removed.
        Parameters:
        uri -
        Returns:
        path or null
      • url

        public static String url​(URI uri)
        Returns string representation of supplied URL.
        Parameters:
        uri -
        Returns:
        string URL or null