com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Interface IExternalResourceResolver

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      java.io.InputStream getEntity(java.lang.String absoluteUri)
      Maps a URI to an object containing the actual resource.
      java.lang.String resolveUri(java.lang.String baseUri, java.lang.String relativeUri)
      Resolves the absolute URI from the base and relative URIs.
    • Method Detail

      • resolveUri

        java.lang.String resolveUri(java.lang.String baseUri,
                                    java.lang.String relativeUri)

        Resolves the absolute URI from the base and relative URIs.

        Parameters:
        baseUri - Base URI of linking objects
        relativeUri - Relative URI to the linked object.
        Returns:
        Absolute URI or null if the relative URI cannot be resolved.
      • getEntity

        java.io.InputStream getEntity(java.lang.String absoluteUri)

        Maps a URI to an object containing the actual resource.

        Parameters:
        absoluteUri - Absolute URI to the object.
        Returns:
        A InputStream object or null if resource cannot be streamed.