C# Class AODL.Document.Export.ExportHandler

ExportHandler class to get the right IExporter implementations for the document to export.
Show file Open project: monsterlabs/HumanRightsTracker Class Usage Examples

Public Methods

Method Description
ExportHandler ( ) : System

Initializes a new instance of the ExportHandler class.

GetExtension ( string aFullPathOrFileName ) : string

Gets the extension.

GetFirstExporter ( DocumentTypes documentType, string savePath ) : IExporter

Gets the first exporter that match the parameter criteria.

Private Methods

Method Description
LoadExporter ( ) : ArrayList

Load exporters.

Method Details

ExportHandler() public method

Initializes a new instance of the ExportHandler class.
public ExportHandler ( ) : System
return System

GetExtension() public static method

Gets the extension.
public static GetExtension ( string aFullPathOrFileName ) : string
aFullPathOrFileName string Name of a full path or file.
return string

GetFirstExporter() public method

Gets the first exporter that match the parameter criteria.
public GetFirstExporter ( DocumentTypes documentType, string savePath ) : IExporter
documentType DocumentTypes Type of the document.
savePath string The save path.
return IExporter