Resource Class
Contents
[
Hide
]Resource class
This class describes a resource and provides methods for processing it.
public class Resource
Properties
Name | Description |
---|---|
getMimeType Returns the MimeType of this resource. Can be null if the resource was not found. | |
getOriginalReference Returns a String containing the original reference to this resource. | |
getOriginalUrl Returns a URL indicating where this resource was located. | |
[getOutputUrl] | |
[setOutputUrl] Gets or sets the URL indicating where the resource will be located after processing. | |
getStatus Returns the current status of the resource. |
Methods
Name | Description |
---|---|
embed(ResourceHandlingContext) | Embeds this resource within its parent by encoding it as Base64. The encoding result will be written to OutputUrl . |
save(Stream, ResourceHandlingContext) | Saves the resource to the provided stream. |
withOutputUrl(Url) | Specifies the new URL indicating where the resource will be located after processing. |
See Also
- package com.aspose.html.saving
- package Aspose.HTML