public interface PropertiesChecker
Modifier and Type | Method and Description |
---|---|
default void |
checkHtmlPageProperties(java.util.Properties props)
Deprecated.
As of i-net Clear Reports 20.4
|
void |
checkProperties(java.util.Properties props,
java.lang.Object req)
This callback is called right before the engine examines the report
file.
|
void |
checkProperties(Engine engine,
java.util.Properties props,
java.lang.Object req)
This callback is called right after the engine has examined the
report file.
|
void checkProperties(java.util.Properties props, java.lang.Object req) throws ReportException
if(...) props.put("report", "file:///c:/my-report.rpt");
props
- The user properties. All keys are lowercase.req
- The javax.servlet.http.HttpServletRequest or null if not in a server.ReportException
- If an error occurred during checking the
supplied properties with the current PropertiesChecker.
The ReportException will be send to the client and displayed in the Java viewer.checkProperties(Engine engine, Properties prop, Object req)
void checkProperties(Engine engine, java.util.Properties props, java.lang.Object req) throws ReportException
engine.setSchema(...);
engine.setProperty(...);
engine
- The initialized engine that have parsed the rpt file already.props
- The user properties. All keys are lowercase.req
- The javax.servlet.http.HttpServletRequest or null if not in a server.ReportException
- If an error occurred during checking the
supplied properties with the current PropertiesChecker.
The ReportException will be send to the client and displayed in the Java viewer.
@Deprecated default void checkHtmlPageProperties(java.util.Properties props) throws ReportException
props
- The properties of the html page. Any change to this properties object itself has absolutely no effect. All keys are lowercase.
See Example MyReportServlet_withMyHTMLProperties.java
.ReportException
- If an error occurred during checking the
supplied properties with the current PropertiesChecker.checkProperties(Engine engine, Properties prop, Object req)
,
checkProperties(Properties prop, Object req)
Copyright © 1999-2020 by i-net software GmbH