public interface IHtmlResource extends IAuxDisposable
Represents one instance of the unknown HTML resource (raster or vector image, stylesheet, font, text resource (CSS, XML) etc.)
Disposed
Modifier and Type | Method and Description |
---|---|
InputStream |
getByteContent()
Content of the HTML resource in a form of a byte stream
|
com.aspose.ms.System.IO.Stream |
getByteContentInternal() |
String |
getFilenameWithExtension()
Correct filename of the specified resource with appropriate file
extension
|
String |
getName()
Name of the HTML resource
|
String |
getTextContent()
Content of the HTML resource in a form of a base64-encoded text string
for binary resources or a simple text for textual resources
|
IResourceType |
getType()
Type of the HTML resource
|
void |
save(String fullPathToFile)
Saves a current resource to the specified file
|
isDisposed
InputStream getByteContent()
Content of the HTML resource in a form of a byte stream
com.aspose.ms.System.IO.Stream getByteContentInternal()
String getFilenameWithExtension()
Correct filename of the specified resource with appropriate file extension
String getName()
Name of the HTML resource
String getTextContent()
Content of the HTML resource in a form of a base64-encoded text string for binary resources or a simple text for textual resources
IResourceType getType()
Type of the HTML resource
void save(String fullPathToFile)
Saves a current resource to the specified file
fullPathToFile
- Full path to the file, which will be created or
rewritten with the content of a current resourceCopyright © 2020. All rights reserved.