kCura.WinEDDS.LoadFileReader
namespace kCura.WinEDDS
{
public class LoadFileReader : DelimitedFileImporter2, IArtifactReader
{
public const int MAXIMUM_COLUMN_NAME_LENGTH = 500;
protected string[] _columnHeaders;
protected string _filePathColumn;
protected int _filePathColumnIndex;
protected bool _firstLineContainsColumnNames;
protected DocumentField[] _docFields;
protected char[] _multiValueSeparator;
protected int _folderID;
protected int _caseSystemID;
protected int _caseArtifactID;
protected bool _uploadFiles;
protected LoadFileFieldMap _fieldMap;
protected bool _createFolderStructure;
protected string _destinationFolder;
protected bool _fullTextColumnMapsToFileLocation;
protected Encoding _sourceFileEncoding;
protected Encoding _extractedTextFileEncoding;
protected string _extractedTextFileEncodingName;
protected int _artifactTypeID;
protected Hashtable MulticodeMatrix;
protected string _hierarchicalMultiValueFieldDelmiter;
protected HybridDictionary _previewCodeCount;
protected long _startLineNumber;
protected int _keyFieldID;
protected ExecutionSource _executionSource;
protected readonly LoadFile _settings;
public bool HasMoreRecords { get; }
public int CurrentLineNumber1 { get; }
public long SizeInBytes { get; }
public long BytesProcessed { get; }
public event IArtifactReader.OnIoWarningEventHandler OnIoWarning;
public event IArtifactReader.StatusMessageEventHandler StatusMessage;
public event IArtifactReader.FieldMappedEventHandler FieldMapped;
public event IArtifactReader.DataSourcePrepEventHandler DataSourcePrep;
public LoadFileReader(LoadFile args, bool trackErrorsAsFieldValues, Func<string> correlationIdFunc, ExecutionSource executionSource = ExecutionSource.Unknown);
protected void EnsureReader();
public string[] GetColumnNames(object args);
public void ValidateColumnNames(Action<string> invalidNameAction);
public string SourceIdentifierValue();
public void AdvanceRecord();
public void Close1();
public void Halt();
public void OnFatalErrorState();
public long? CountRecords();
public string ManageErrorRecords(string errorMessageFileLocation, string prePushErrorLineNumbersFileName);
public ArtifactFieldCollection ReadArtifact();
public static string[] GetStringArrayFromDelimitedFieldValue(object value, char delimiter);
}
}