com.sas.dataselectors.export
Class ExportSelectorCommandFactory

com.sas.dataselectors.export.ExportSelectorCommandFactory

public class ExportSelectorCommandFactory

This class is a factory of RelationalExportCommandInterface and OLAPExportCommandInterface instances.

Since:
3.1

Constructor Summary
ExportSelectorCommandFactory()
          Default constructor.
 
Method Summary
 OLAPExportCommandInterface getOLAPCommand(java.lang.String outputType, java.lang.ClassLoader loader)
          Returns an instance of a OLAPExportCommandInterface for the specific output type.
 RelationalExportCommandV2Interface getRelationalCommand(java.lang.String outputType, java.lang.ClassLoader loader)
          Returns an instance of a RelationalExportCommandInterface for the specific output type
 

Constructor Detail

ExportSelectorCommandFactory

public ExportSelectorCommandFactory()
Default constructor.

Method Detail

getRelationalCommand

public RelationalExportCommandV2Interface getRelationalCommand(java.lang.String outputType,
                                                               java.lang.ClassLoader loader)
Returns an instance of a RelationalExportCommandInterface for the specific output type

Parameters:
outputType - the output type.

Supported values are: ExportSelectorInterface.EXCEL_TSV_OUTPUT_TYPE, ExportSelectorInterface.EXCEL_CSV_OUTPUT_TYPE, ExportSelectorInterface.EXCEL_XML_OUTPUT_TYPE, ExportSelectorInterface.EXCEL_HTML_OUTPUT_TYPE ExportSelectorInterface.WORD_HTML_OUTPUT_TYPE

loader - the class loader to use to load the class that implements the RelationalExportCommandV2Interface to return.
Returns:
an instance of a RelationalExportCommandV2Interface

getOLAPCommand

public OLAPExportCommandInterface getOLAPCommand(java.lang.String outputType,
                                                 java.lang.ClassLoader loader)
Returns an instance of a OLAPExportCommandInterface for the specific output type.

Parameters:
outputType - The output type.

Supported values are: ExportSelectorInterface.EXCEL_TSV_OUTPUT_TYPE, ExportSelectorInterface.EXCEL_CSV_OUTPUT_TYPE, ExportSelectorInterface.EXCEL_XML_OUTPUT_TYPE, ExportSelectorInterface.EXCEL_HTML_OUTPUT_TYPE ExportSelectorInterface.WORD_HTML_OUTPUT_TYPE

loader - the class loader to use to load the class that implements the OLAPExportCommandInterface to return.
Returns:
an instance of OLAPExportCommandInterface.



Copyright © 2009 SAS Institute Inc. All Rights Reserved.