Class UrlManipulator


  • public class UrlManipulator
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      UrlManipulator()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.net.URL relativeToAbsoluteUrl​(java.lang.String urlFound, java.net.URL context)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UrlManipulator

        public UrlManipulator()
    • Method Detail

      • relativeToAbsoluteUrl

        public static java.net.URL relativeToAbsoluteUrl​(java.lang.String urlFound,
                                                         java.net.URL context)
                                                  throws java.net.MalformedURLException
        Parameters:
        urlFound - the link as appear
        context - the URL in which the link appeared
        Throws:
        java.net.MalformedURLException