C# Class OneNoteConversionTool.FormatConversion.ConversionManager

Handles converting the different input types into OneNote (output)
Show file Open project: OneNoteDev/OneNoteConversionTool

Public Methods

Method Description
ConvertInput ( string converterType, string inputPath, string outputDir ) : void

Converts Input using the specified format

GetSupportedFormats ( ) : List

Returns the list of all supported input formats

Private Methods

Method Description
ConvertDirectory ( IFormatConverter converter, string inputDir, string outputDir ) : void

Helper method to iterate through a directory and convert all the files underneath it

ConvertDirectoryImpl ( IFormatConverter converter, string inputDir, string outputDir ) : ICollection

The internal implementation of the method that goes into the directory and tries to convert all files underneath it recursively.

ConvertFile ( IFormatConverter converter, string inputFile, string outputDir ) : void

Converts a single file into a section in OneNote notebook

Method Details

ConvertInput() public static method

Converts Input using the specified format
public static ConvertInput ( string converterType, string inputPath, string outputDir ) : void
converterType string
inputPath string
outputDir string
return void

GetSupportedFormats() public static method

Returns the list of all supported input formats
public static GetSupportedFormats ( ) : List
return List