StringDataSource

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.tex.plugins.IDataSource

public final class StringDataSource implements IDataSource

The string data source for plugin’s load operations.

Constructors

ConstructorDescription
StringDataSource(String data)Creates a new string data source.

Methods

MethodDescription
getDataType()Returns the data source type.
getData()Gets the underlying string.

StringDataSource(String data)

public StringDataSource(String data)

Creates a new string data source.

Parameters:

ParameterTypeDescription
datajava.lang.StringThe string data.

getDataType()

public DataType getDataType()

Returns the data source type.

Returns: DataType - The data source type.

getData()

public String getData()

Gets the underlying string.

Returns: java.lang.String - The underlying string.