ResourceLoadingArgs

ResourceLoadingArgs

Overview

ResourceLoadingArgs is a class in Aspose.Words FOSS for Java.

Provides data for the IResourceLoadingCallback.resourceLoading() method.

Edition status of its 8 listed members (a property and its accessor methods are listed separately, overloads once): 8 not yet exercised by a verified example.

This class declares 5 methods for ResourceLoadingArgs objects in Java programs. Available methods include: getOriginalUri, getResourceType, getUri, setData, setUri. Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package. Properties: originalUri, resourceType, uri.

Properties

NameTypeAccessDescription
resourceTypeintReadType of resource.
uriStringRead/WriteURI of the resource which is used for downloading if IResourceLoadingCallback.resourceLoading() returns ResourceLoadingAction.DEFAULT.
originalUriStringReadOriginal URI of the resource as specified in imported document.

Methods

SignatureDescription
getResourceType() → intType of resource.
getUri() → StringURI of the resource which is used for downloading if IResourceLoadingCallback.resourceLoading() returns ResourceLoadingAction.DEFAULT.
setUri(value: String)Sets the uri value.
getOriginalUri() → StringOriginal URI of the resource as specified in imported document.
setData(data: byte[])Sets user provided data of the resource which is used if IResourceLoadingCallback.resourceLoading() returns ResourceLoadingAction.USER_PROVIDED.

See Also