Relativity.DataExchange.Data.DelimitedFileImporter2
Represents an abstract representation of a file importer that operates over delimited files.
namespace Relativity.DataExchange.Data
{
public abstract class DelimitedFileImporter2 : IoReporter
{
public const int MaxColumnCountForLine = 10000;
public int CurrentLineNumber { get; }
protected char Bound { get; }
protected long CharacterPosition { get; }
protected char Delimiter { get; }
protected virtual bool HasReachedEof { get; }
protected DelimitedMode Mode { get; }
protected char NewlineProxy { get; }
protected StreamReader Reader { get; set; }
protected virtual bool UseConcordanceStyleBoundStart { get; }
protected TrimOption TrimOption { get; set; }
protected DelimitedFileImporter2(char delimiter, bool retry);
protected DelimitedFileImporter2(char delimiter, char bound, char newlineProxy, bool retry);
protected DelimitedFileImporter2(char delimiter, IoReporterContext context, ILog logger, CancellationToken token);
protected DelimitedFileImporter2(char delimiter, char bound, char newlineProxy, IoReporterContext context, ILog logger, CancellationToken token);
public static string ValidateStringForVarChar(string value, int column, int fieldLength, int currentLineNumber, string displayName);
public void Close();
public abstract object ReadFile(string path);
public bool GetBoolean(string value);
public decimal GetDecimal(string value, int column);
public bool? GetNullableBoolean(string value, int column);
public DateTime? GetNullableDateTime(string value, int column);
public decimal? GetNullableDecimal(string value, int column);
public string GetNullableFixedString(string value, int column, int maxLength, string displayName);
public int? GetNullableInteger(string value, int column);
public virtual int Peek();
public void ResetLineCounter();
public void Rewind();
protected void AdvanceLine();
protected string[] GetLine();
protected string[] GetLine(int maximumFieldLength);
protected int GetChar(bool advance);
protected virtual decimal? ParseNullableDecimal(string value);
}
}