Click or drag to resize

FileParserFactoryGetParser Method

Gets the applicable parser for given file and application. Looks in application's parser for first type corresponding to given file format. If not found, looks in generic parsers.

Namespace:  Packflow.Core.FileParsing
Assembly:  MicaSystems.Packflow.Core (in MicaSystems.Packflow.Core.dll) Version: 1.0.0.0 (3.2.0.306)
Syntax
C#
public static FileParser GetParser(
	Stream fileStream,
	string fileName,
	PFApplication application = null
)

Parameters

fileStream
Type: System.IOStream
The file stream.
fileName
Type: SystemString
Name of the file.
application (Optional)
Type: Packflow.CorePFApplication
The application.

Return Value

Type: FileParser
FileParser
See Also