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
| Name | Type | Access | Description |
|---|---|---|---|
resourceType | int | Read | Type of resource. |
uri | String | Read/Write | URI of the resource which is used for downloading if IResourceLoadingCallback.resourceLoading() returns ResourceLoadingAction.DEFAULT. |
originalUri | String | Read | Original URI of the resource as specified in imported document. |
Methods
| Signature | Description |
|---|---|
getResourceType() → int | Type of resource. |
getUri() → String | URI of the resource which is used for downloading if IResourceLoadingCallback.resourceLoading() returns ResourceLoadingAction.DEFAULT. |
setUri(value: String) | Sets the uri value. |
getOriginalUri() → String | Original 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. |