public class HtmlResult extends Object
Constructor and Description |
---|
HtmlResult() |
HtmlResult(InputStream mainStream)
Constructs the result with the main HTML file stream of the converted document.
|
HtmlResult(InputStream mainStream,
ArrayList<InputStream> resourceStreams,
ArrayList<String> resourcePaths)
Constructs the result with the main HTML file stream of the converted document and supporting resources
(in a form of streams or file paths).
|
Modifier and Type | Method and Description |
---|---|
InputStream |
getMainStream()
Gets the main HTML file content stream.
|
ArrayList<String> |
getResourcePaths()
Gets the list of the resource file paths (frame HTML document, image, css, javascript, etc.)
|
ArrayList<InputStream> |
getResourceStreams()
Gets The list of the resource file streams (frame HTML document, image, css, javascript, etc.)
|
void |
setMainStream(InputStream mainStream)
Sets the main HTML file content stream.
|
void |
setResourcePaths(ArrayList<String> resourcePaths)
Sets the list of the resource file paths (frame HTML document, image, css, javascript, etc.)
|
void |
setResourceStreams(ArrayList<InputStream> resourceStreams)
Sets the list of the resource file streams (frame HTML document, image, css, javascript, etc.)
|
public HtmlResult(InputStream mainStream)
mainStream
- the stream containing the HTML file of the converted documentpublic HtmlResult()
public HtmlResult(InputStream mainStream, ArrayList<InputStream> resourceStreams, ArrayList<String> resourcePaths)
mainStream
- the stream containing the HTML file of the converted documentresourceStreams
- the list of the resource file streams (frame HTML document, image, css, javascript, etc.)
created in the conversion process and used in the main HTML documentresourcePaths
- the list of the resource file paths (frame HTML document, image, css, javascript, etc.)
created in the conversion process and used in the main HTML documentpublic InputStream getMainStream()
public void setMainStream(InputStream mainStream)
mainStream
- stream containing the HTML file of the converted documentpublic ArrayList<InputStream> getResourceStreams()
public void setResourceStreams(ArrayList<InputStream> resourceStreams)
resourceStreams
- the list of the resource file streams.public ArrayList<String> getResourcePaths()
public void setResourcePaths(ArrayList<String> resourcePaths)
resourcePaths
- the list of the resource file paths.Copyright © 2015 GroupDocs. All rights reserved.