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
Constructor | Description |
---|---|
StringDataSource(String data) | Creates a new string data source. |
Methods
Method | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
data | java.lang.String | The 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.