kCura.Utility.DelimitedFileImporter
Abstract representation of a file importer that operates over delimited files.
Represents an exception that occured while attempting to import a boolean.
Represents an exception that occured while attempting to import a date.
Represents an exception that occured while attempting to import a decimal.
Enumerates the possible delimiter modes.
Represents an exception that occured while attempting to import a cell.
Represents an exception that occured while attempting to import an object name.
Represents an exception that occured while attempting to import a string.
Represents an exception that occured while attempting to import an integer.
Enumerates the different behaviors when stripping text of whitespace.
Gets the configured bounding character.
Gets the configured delimiter character.
Indicates whether or not this importer should retry a read operation on failure.
Indicates whether or not the end of the file has been reached.
Gets the configured delimiter mode.
Gets the configured new line proxy character array.
Gets the underlying stream reader.
Indicates whether or not to use concordance style bound starts.
Gets or sets the whitespace stripping behavior type.
protected DelimitedFileImporter(char[] delimiter, char[] bound, char[] newLineProxy, bool doRetryLogic)
Initializes a new instance of DelimitedFileImporter with the provided parameters.
protected DelimitedFileImporter(string delimiter, string bound, string newLineProxy, bool doRetryLogic)
Initializes a new instance of DelimitedFileImporter with the provided parameters.
Initializes a new instance of DelimitedFileImporter with the provided parameters.
Initializes a new instance of DelimitedFileImporter with the provided parameters.
Initializes a new instance of DelimitedFileImporter with the provided parameters.
Advances the underlying file cursor to the next line without returning results.
Closes this importer.
Gets a boolean value from the provided string.
Gets a date from the provided string.
Gets a decimal from the provided string.
Gets an integer from the provided string.
Gets the next line of the file as a string array.
Gets the next line of the file as a string array.
public string GetNullableAssociatedObjectName(string value, int column, int fieldLength, string fieldName)
Gets an object name string the from the provided value.
Gets a nullable boolean value from the provided string.
Gets a nullable date from the provided string.
Gets a fixed-length string the from the provided value.
Gets a nullable integer from the provided string.
Gets a nullable decimal from the provided string.
Peeks at the next character of the file without advancing the underlying file cursor.
Reads an entire file from the specified path.
Resets the current line being read to the first line of the file.
Resets this importer to the beginning of the file.