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

ConstructorDescription
StreamDataSource(OutputStream data)Creates a new output stream data source.

Methods

MethodDescription
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:

ParameterTypeDescription
datajava.io.OutputStreamThe 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.