![]() |
CSVReader Class |
Namespace: Karamba.Utilities
The CSVReader type exposes the following members.
Name | Description | |
---|---|---|
![]() | CSVReader |
Initializes a new instance of the CSVReader class.
create new CSV Reader.
|
Name | Description | |
---|---|---|
![]() | itemsTable |
Gets the raw table of items which was ranked by the user.
|
Name | Description | |
---|---|---|
![]() | colourValue |
retrieve color data from line of csv-data. selection_ids contains
indices of items to be converted to colors. Values non-existent in the table
cause the default color to be returned.
|
![]() | doubleValue(ListString, Int32) |
retrieve numerical data from line of csv-data. selection_ids contains
indices of items to be converted to numbers. Values non-existent in the table
cause an exception. Decimal separators may be '.' or ','.
|
![]() | doubleValue(ListString, Int32, Double) |
Try to retrieve value with index id1; if not successful return val.
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | items |
get items of line in table that is identified by a zero based index.
|
![]() | lineNumber |
return line number in CSV-file of row with given index. Index and line number may deviate in case of remark rows.
|
![]() | longValue(ListString, Int32) |
retrieve integer data from line of CSV-data.
|
![]() | longValue(ListString, Int32, Int64) |
Try to retrieve value with index id1; if not successful return val.
|
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | read |
read table, convert contents to upper case, remove blanks and sort by field FieldID if required.
Sort table according to column given by FieldID if its value is > 0.
|
![]() | stringValue |
retrieve string data from line of csv-data. selection_ids contains
indices of items to be converted to string. Values non-existent in the table
cause the default string to be returned.
|
![]() ![]() | ToDouble |
convert string to double value. if not successful return null.
|
![]() ![]() | ToLong |
convert string to a long integer. if not successful return null.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |