LoadOptions.ResourceLoadingStrategy

public static interface LoadOptions.ResourceLoadingStrategy

Sometimes it’s necessary to avoid usage of internal loader of external resources(like images or CSSes) and supply custom method, that will get requested resources from somewhere. For example during usage of Aspose.PDf in cloud direct access to referenced files impossible, and some custom code put into special method should be used. This delegate defines signature of such custom method.

Methods

MethodDescription
invoke(String resourceURI)

invoke(String resourceURI)

public abstract LoadOptions.ResourceLoadingResult invoke(String resourceURI)

Parameters:

ParameterTypeDescription
resourceURIjava.lang.String

Returns: ResourceLoadingResult