Click or drag to resize

Csv Class

Allows configuration and reading from a CSV file.
Inheritance Hierarchy
SystemObject
  Austra.LibraryCsv

Namespace: Austra.Library
Assembly: Austra.Library (in Austra.Library.dll) Version: 2.8.0+e1037fa8802b3ff162e26559d763b73334940b70
Syntax
C#
public class Csv

The Csv type exposes the following members.

Constructors
 NameDescription
Public methodCsvCreates a new CSV reader for the specified file.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodFirst Reads the first line from the configured CSV file.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodReadAll Reads all rows from the configured CSV file and returns all values as an array of doubles, along with the number of columns per row. Applies any configured filtering and handles headers as specified.
Public methodReadAll(Int32) Reads all rows from the configured CSV file and returns all values as an array of doubles, along with the number of columns per row. Applies any configured filtering and handles headers as specified.
Public methodReadColumnT(Int32)Reads all lines from the configured CSV file.
Public methodReadColumnT(String)Reads all lines from the configured CSV file.
Public methodReadSeries(Int32, Int32)Read points for a series from the configured CSV file.
Public methodReadSeries(String, String)Read points for a series from the configured CSV file.
Public methodToStringReturns a string that represents the current object.
(Overrides ObjectToString)
Public methodWithFilter(Int32, String) Instructs the reader to only return lines where the value in the specified column matches the provided value.
Public methodWithFilter(String, String) Instructs the reader to only return lines where the value in the specified column matches the provided value. This overload implies that the CSV file has a header.
Public methodWithFormat Change the format provider for this CSV file. This is used when parsing numeric values.
Public methodWithHeader Mark this CSV file as having a header line. The first line will be ignored when reading.
Public methodWithSeparator Change the separator character for this CSV file.
Top
See Also