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.
|
boolean |
forTesting() |
ReportProperties |
getProperties()
Get properties currently in use.
|
static java.lang.Object |
lookupVariable(DataSourceNode[] stack,
java.lang.String var)
Looks up the variable on the node stack.
|
void |
setProperties(ReportProperties properties)
Sets properties used by a report object.
|
abstract boolean |
supportsDataSets()
Does this datasource support data sets?
|
public boolean forTesting()
public static java.io.InputStream convertToInputStream(java.lang.Object data)
throws DataSourceException
data - The data that may need to be converted.DataSourceExceptionpublic 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.public void setProperties(ReportProperties properties)
public ReportProperties getProperties()
Copyright © 2020 Windward Studios - All Rights Reserved. We are java reporting and document generation software