com.aspose.html.net

Class UrlResolver

  • java.lang.Object
    • com.aspose.html.net.UrlResolver


  • public class UrlResolver
    extends java.lang.Object

    Represents utility class for resolving absolute URL by a Uniform Resource Identifier (URI).

    • Constructor Summary

      Constructors 
      Constructor and Description
      UrlResolver() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      Url resolve(java.lang.String baseUri, java.lang.String relativeUri)
      Resolves the absolute URI from the base and relative URIs.
      Url resolve(Url baseUri, java.lang.String relativeUri)
      Resolves the absolute URI from the base and relative URIs.
      • Methods inherited from class java.lang.Object

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

      • UrlResolver

        public UrlResolver()
    • Method Detail

      • resolve

        public Url resolve(java.lang.String baseUri,
                           java.lang.String relativeUri)

        Resolves the absolute URI from the base and relative URIs.

        Parameters:
        baseUri - The base URI.
        relativeUri - The relative URI.
        Returns:
        The absolute URI
      • resolve

        public Url resolve(Url baseUri,
                           java.lang.String relativeUri)

        Resolves the absolute URI from the base and relative URIs.

        Parameters:
        baseUri - The base URI.
        relativeUri - The relative URI.
        Returns:
        The absolute URI