public abstract class DataSourceBase
extends java.lang.Object
Constructor and Description |
---|
DataSourceBase() |
Modifier and Type | Method and Description |
---|---|
static java.io.InputStream |
convertToInputStream(java.lang.Object data)
Used for cases where an evaluate can return a byte[] or other object and the engine needs the data as an
InputStream.
|
static java.lang.Object |
lookupVariable(DataSourceNode[] stack,
java.lang.String var)
Looks up the variable on the node stack.
|
abstract boolean |
supportsDataSets()
Does this datasource support data sets?
|
public static java.io.InputStream convertToInputStream(java.lang.Object data) throws DataSourceException
data
- The data that may need to be converted.DataSourceException
public abstract boolean supportsDataSets()
public static java.lang.Object lookupVariable(DataSourceNode[] stack, java.lang.String var)
stack
- The stack of data providers to look up in.var
- The variable to look up for.Copyright © 2017 Windward Reports - All Rights Reserved. We are java reporting software