public class MhtmlRenderer extends Renderer<com.aspose.ms.System.IO.Stream>
Represents a MHTML document renderer.
Constructor and Description |
---|
MhtmlRenderer() |
Modifier and Type | Method and Description |
---|---|
void |
render(IDevice device,
java.io.InputStream stream) |
void |
render(IDevice device,
java.io.InputStream inputStream,
Configuration configuration) |
void |
render(IDevice device,
com.aspose.ms.System.IO.Stream[] documents,
Configuration configuration)
Renders multiple MHTML documents into specified
IDevice . |
void |
render(IDevice device,
com.aspose.ms.System.IO.Stream[] documents,
Configuration configuration,
com.aspose.ms.System.TimeSpan timeout)
Renders multiple MHTML documents into specified
IDevice . |
void |
render(IDevice device,
com.aspose.ms.System.IO.Stream document,
Configuration configuration)
Renders MHTML document into specified
IDevice . |
void |
render(IDevice device,
com.aspose.ms.System.IO.Stream document,
Configuration configuration,
com.aspose.ms.System.TimeSpan timeout)
Renders MHTML document into specified
IDevice . |
void |
render(IDevice device,
com.aspose.ms.System.TimeSpan timeout,
com.aspose.ms.System.IO.Stream document)
Defines method for rendering MHTML
Stream into specific IDevice . |
void |
render(IDevice device,
com.aspose.ms.System.TimeSpan timeout,
com.aspose.ms.System.IO.Stream[] documents)
Renders multiple MHTML documents into specified
IDevice . |
render, render, render, render, render
public void render(IDevice device, java.io.InputStream stream)
public void render(IDevice device, com.aspose.ms.System.TimeSpan timeout, com.aspose.ms.System.IO.Stream[] documents)
Renders multiple MHTML documents into specified IDevice
.
The rendering will be performed once there are no any network operations for loading resources, active timers, animation tasks or specified timeout is elapsed.
public void render(IDevice device, com.aspose.ms.System.TimeSpan timeout, com.aspose.ms.System.IO.Stream document)
Defines method for rendering MHTML Stream
into specific IDevice
.
The rendering will be performed once there are no any network operations for loading resources, active timers, animation tasks or specified timeout is elapsed.
public void render(IDevice device, com.aspose.ms.System.IO.Stream document, Configuration configuration)
Renders MHTML document into specified IDevice
.
device
- The device.document
- The document.configuration
- The configuration.public void render(IDevice device, java.io.InputStream inputStream, Configuration configuration)
public void render(IDevice device, com.aspose.ms.System.IO.Stream document, Configuration configuration, com.aspose.ms.System.TimeSpan timeout)
Renders MHTML document into specified IDevice
.
The rendering will be performed once there are no any network operations for loading resources, active timers, animation tasks or specified timeout is elapsed.
device
- The device.document
- The document.configuration
- The configuration.timeout
- A TimeSpan
that represents the number of milliseconds to wait, or a TimeSpan
that represents -1 millisecond to wait indefinitely.public void render(IDevice device, com.aspose.ms.System.IO.Stream[] documents, Configuration configuration)
Renders multiple MHTML documents into specified IDevice
.
device
- The device.documents
- The IList{Stream}
of documents to render.configuration
- The configuration.public void render(IDevice device, com.aspose.ms.System.IO.Stream[] documents, Configuration configuration, com.aspose.ms.System.TimeSpan timeout)
Renders multiple MHTML documents into specified IDevice
.
The rendering will be performed once there are no any network operations for loading resources, active timers, animation tasks or specified timeout is elapsed.
device
- The device.documents
- The IList{Stream}
of documents to render.configuration
- The configuration.timeout
- A TimeSpan
that represents the number of milliseconds to wait, or a TimeSpan
that represents -1 millisecond to wait indefinitely.