Klasse ReportKeyFactory
java.lang.Object
com.inet.report.ReportKeyFactory
- Alle implementierten Schnittstellen:
Serializable
This class represents the description / identification of a report.
It contains the properties that describes how the engine should render this report
(i.e. to HTML or PDF), but also the name and location of the report file.
For more information about the report URL parameters, please refer to the i-net Clear Reports documentation. The instance of the ReportKeyFactory is intended to be serialized and used by a remote service, but it can be useful for a standalone application, too.
For more information about the report URL parameters, please refer to the i-net Clear Reports documentation. The instance of the ReportKeyFactory is intended to be serialized and used by a remote service, but it can be useful for a standalone application, too.
- Seit:
- 3.0
- Siehe auch:
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungReportKeyFactory(String url) Creates a new instance ofcom.inet.report.ReportKeyFactory.ReportKeyFactory(Properties props) Creates a new instance ofcom.inet.report.ReportKeyFactory.
Please see ReportKeyFactory(String) for an example.
For more information about the report URL properties please refer to the i-net Clear Reports documentation. -
Methodenübersicht
Modifikator und TypMethodeBeschreibungstatic voiddecodeProps(Properties props) FOR INTERNAL USE ONLY Decode the properties that are send from a client request.Returns the export format of the report that was set via the properties object in the constructor.Returns the output format of the report that was set via the properties object in the constructor.Returns the properties object that describes / identifies the report, see the i-net Clear Reports documentation.static StringgetRelevantParams(Properties props) Returns a String representation of all relevant parameters from the given properties object.static StringReturns a String representation of all relevant parameters from the given properties object.Generates an ID which is unique to identify a report.A synonym for getReportId().toString()Generates a String representation of this object.
-
Konstruktordetails
-
ReportKeyFactory
Creates a new instance ofcom.inet.report.ReportKeyFactory. The keys and values must be java.net.URLEncoded, please see the i-net Clear Reports documentation
The instance of the ReportKeyFactory is intended to be serialized and used by a remote service, but it can be useful for a standalone application, too.
Example:
Properties properties = (new ReportKeyFactory("report=file:c:/test.rpt&user=USER&password=PWD")).getProperties();
- Parameter:
url- The properties that describe / identify a report in the following format: key1=val1&key2=val2.- Seit:
- 3.0
- Siehe auch:
-
ReportKeyFactory
Creates a new instance ofcom.inet.report.ReportKeyFactory.
Please see ReportKeyFactory(String) for an example.
For more information about the report URL properties please refer to the i-net Clear Reports documentation.- Parameter:
props- The properties that describe / identify a report.- Seit:
- 15.0
- Siehe auch:
-
-
Methodendetails
-
getRelevantParams
Returns a String representation of all relevant parameters from the given properties object. This can be used for the Key generation but not for building a URL.- Parameter:
props- The properties that describe / identify the report- Gibt zurück:
- A sorted string representation of all relevant parameters
- Seit:
- 3.0
- Siehe auch:
-
getRelevantParamsNoSort
Returns a String representation of all relevant parameters from the given properties object. This can be used for building a URL. Because the sorting is undefined this can't be used for a key.- Parameter:
props- The properties that describe / identify the report- Gibt zurück:
- An unsorted string representation of all relevant parameters
- Seit:
- 3.0
- Siehe auch:
-
decodeProps
FOR INTERNAL USE ONLY Decode the properties that are send from a client request. -
getReportId
Generates an ID which is unique to identify a report. From this ID also the primary key is generated.- Gibt zurück:
- A unique ID to identify a report.
- Seit:
- 3.0
-
getReportName
A synonym for getReportId(). Generates an ID which is unique to identify a report. From this ID also the primary key is generated.- Gibt zurück:
- A unique ID to identify a report.
- Seit:
- 3.0
- Siehe auch:
-
getProperties
Returns the properties object that describes / identifies the report, see the i-net Clear Reports documentation.- Gibt zurück:
- The properties object that describe / identifies the report
- Seit:
- 3.0
-
getOutputFormat
Returns the output format of the report that was set via the properties object in the constructor.- Gibt zurück:
- The output format of the report.
- Seit:
- 3.0
- Siehe auch:
-
getExportFormat
Returns the export format of the report that was set via the properties object in the constructor.- Gibt zurück:
- The export format of the report.
- Seit:
- 3.0
- Siehe auch:
-
toString
-