C# Class Prolog.CSVParser

显示文件 Open project: ianhorswill/UnityProlog

Public Methods

Method Description
CSVParser ( Symbol functor, char delimiter, Prolog.PositionTrackingTextReader reader ) : System
Read ( Structure>.Action rowHandler ) : void

Private Methods

Method Description
DecodeFormat ( string headerItem ) : ColumnFormat
ReadFactRow ( ) : Structure
ReadHeaderRow ( ) : void
ReadItem ( TextReader reader, char delimiter, StringBuilder stringBuilder ) : string
ReadRow ( Action itemHandler ) : void
SkipLine ( ) : void

Method Details

CSVParser() public method

public CSVParser ( Symbol functor, char delimiter, Prolog.PositionTrackingTextReader reader ) : System
functor Symbol
delimiter char
reader Prolog.PositionTrackingTextReader
return System

Read() public method

public Read ( Structure>.Action rowHandler ) : void
rowHandler Structure>.Action
return void