Class UrlUtils


  • public class UrlUtils
    extends Object
    Collection of utility methods for working with URLs.
    • Method Detail

      • toFilePath

        public static String toFilePath​(URL url)
        Retrieves the file path of this URL, with any trailing slashes removed.
        Parameters:
        url - The URL to get the file path for.
        Returns:
        The file path.