Class CCExporterFactory
java.lang.Object
com.ibm.debug.pdt.codecoverage.core.results.exporters.CCExporterFactory
- Since:
- 3.1
-
Method Summary
Modifier and TypeMethodDescriptionvoidClears the registered exporters.voidderegisterExporter(String exportType) Removes an exporter If the exporter is not registered then no change is madegetExporter(String exportType) Returns the exporter that supports the exportTypeString[]Returns a array of the available exportersstatic CCExporterFactorybooleanregisterExporter(ICCExporter exporter, String exportType) Register an exporter by export type The export type string will be used later to select this exportervoidRestore registered exporters to the default
-
Method Details
-
getInstance
-
getExporter
Returns the exporter that supports the exportType- Parameters:
exportType- exporter type- Returns:
ICCExporter
-
getExporterTypes
Returns a array of the available exporters- Returns:
- zero or more registered exporters
-
registerExporter
Register an exporter by export type The export type string will be used later to select this exporter- Parameters:
exporter- that should be registered. Must implementICCExporterexportType- is a string that can be used to select this exporter- Returns:
- true if exporter successfully registered
- Since:
- 5.0
-
deregisterExporter
Removes an exporter If the exporter is not registered then no change is made- Parameters:
exportType- the ID or type of the exporter to remove- Since:
- 5.0
-
resetRegisteredExporters
public void resetRegisteredExporters()Restore registered exporters to the default- Since:
- 7.0
-
clearRegisteredExporters
public void clearRegisteredExporters()Clears the registered exporters. Before using the exporter framework at least 1 exporter should be registered- Since:
- 7.0
-