public class EngineFactoryImpl extends java.lang.Object implements EngineFactory
EngineFactory
Modifier and Type | Method and Description |
---|---|
Engine |
createEngine(java.util.Properties props)
Create a new Engine and initialize it with the properties.
|
ReportCacheKey |
getKey(java.util.Properties props)
Create a unique key for the Engine that is returned by createEngine().
|
public Engine createEngine(java.util.Properties props) throws ReportException
createEngine
in interface EngineFactory
props
- contains parameters for the engine. e.g. "export_fmt" = Engine.EXPORT_PDF.
The properties will not modified.ReportException
- will be thrown when setting parameters for the Engine failedEngineFactory.createEngine(java.util.Properties)
public ReportCacheKey getKey(java.util.Properties props) throws ReportException
getKey
in interface EngineFactory
props
- contains the parameters for the engine and the key. The properties will not modified.ReportException
- if there is no parameter report.Copyright © 1999-2020 by i-net software GmbH