public class ReportKeyFactory
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
ReportKeyFactory(java.lang.String url)
Creates a new instance of
com.inet.report.ReportKeyFactory . |
ReportKeyFactory(java.util.Properties props)
Creates a new instance of
com.inet.report.ReportKeyFactory . |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getExportFormat()
Returns the export format of the report that was set via the properties object
in the constructor.
|
java.lang.String |
getOutputFormat()
Returns the output format of the report that was set via the properties object
in the constructor.
|
java.util.Properties |
getProperties()
Returns the properties object that describes / identifies the report,
see the i-net Clear Reports documentation.
|
static java.lang.String |
getRelevantParams(java.util.Properties props)
Returns a String representation of all relevant parameters from the given properties object.
|
static java.lang.String |
getRelevantParamsNoSort(java.util.Properties props)
Returns a String representation of all relevant parameters from the given properties object.
|
java.lang.String |
getReportId()
Generates an ID which is unique to identify a report.
|
java.lang.String |
getReportName()
A synonym for getReportId().
|
java.lang.String |
toString()
Generates a String representation of this object.
|
public ReportKeyFactory(java.lang.String url)
com.inet.report.ReportKeyFactory
.
The keys and values must be java.net.URLEncoded, please see the i-net Clear Reports documentation
Properties properties = (new ReportKeyFactory("report=file:c:/test.rpt&user=USER&password=PWD")).getProperties();
url
- The properties that describe / identify a report in the following format: key1=val1&key2=val2.ReportKeyFactory(Properties)
public ReportKeyFactory(java.util.Properties props)
com.inet.report.ReportKeyFactory
.props
- The properties that describe / identify a report.ReportKeyFactory(String)
public static java.lang.String getRelevantParams(java.util.Properties props)
props
- The properties that describe / identify the reportgetRelevantParamsNoSort(Properties)
public static java.lang.String getRelevantParamsNoSort(java.util.Properties props)
props
- The properties that describe / identify the reportgetRelevantParams(Properties)
public java.lang.String getReportId()
public java.lang.String getReportName()
getReportId()
public java.util.Properties getProperties()
public java.lang.String getOutputFormat()
ReportKeyFactory
public java.lang.String getExportFormat()
ReportKeyFactory
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 1999-2020 by i-net software GmbH