StreamDataSource
Inheritance: java.lang.Object
All Implemented Interfaces: com.aspose.tex.plugins.IDataSource
public final class StreamDataSource implements IDataSource
The stream data source for plugin’s save operations.
Constructors
| Constructor | Description |
|---|---|
| StreamDataSource(OutputStream data) | Creates a new output stream data source. |
Methods
| Method | Description |
|---|---|
| getDataType() | Returns the data source type. |
| getData() | Gets the underlying output stream. |
StreamDataSource(OutputStream data)
public StreamDataSource(OutputStream data)
Creates a new output stream data source.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| data | java.io.OutputStream | The output stream. |
getDataType()
public DataType getDataType()
Returns the data source type.
Returns: DataType - The data source type.
getData()
public OutputStream getData()
Gets the underlying output stream.
Returns: java.io.OutputStream - The underlying output stream.