com.aspose.html.net

Class UrlResolver



  • public class UrlResolver
    extends Object

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

    • Constructor Detail

      • UrlResolver

        public UrlResolver()
    • Method Detail

      • resolve

        public Url resolve(String baseUri,
                           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,
                           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