Fixed Width Text File.Open Method
Definition
Namespace: Numerics.NET.Data.Text
Assembly: Numerics.NET.Data (in Numerics.NET.Data.dll) Version: 4.0.1
Assembly: Numerics.NET.Data (in Numerics.NET.Data.dll) Version: 4.0.1
Overload List
Open( | Opens a data stream in fixed width format for reading. |
Open( | Opens a data stream in fixed width format for reading. |
Open( | Opens a data file in fixed width format for reading. |
Open( | Opens a data file in fixed width format for reading. |
Open(Stream, FixedWidthTextOptions)
Opens a data stream in fixed width format for reading.
public static FixedWidthTextStream Open(
Stream stream,
FixedWidthTextOptions options
)
Parameters
- stream Stream
- The stream to read the data from.
- options FixedWidthTextOptions
- A FixedWidthTextOptions object that specifies the options to use when reading the file.
Return Value
FixedWidthTextStreamA FixedWidthTextOptions.
Open(Stream, Int32[])
Opens a data stream in fixed width format for reading.
public static FixedWidthTextStream Open(
Stream stream,
int[] columnBreaks
)
Parameters
- stream Stream
- The stream to read the data from.
- columnBreaks Int32[]
- An integer array containing the zero-based indexes of the column breaks on each row.
Return Value
FixedWidthTextStreamA FixedWidthTextOptions.
Open(String, FixedWidthTextOptions)
Opens a data file in fixed width format for reading.
public static FixedWidthTextStream Open(
string path,
FixedWidthTextOptions options
)
Parameters
- path String
- The path to the file.
- options FixedWidthTextOptions
- A FixedWidthTextOptions object that specifies the options to use when reading the file.
Return Value
FixedWidthTextStreamA FixedWidthTextOptions.
Open(String, Int32[])
Opens a data file in fixed width format for reading.
public static FixedWidthTextStream Open(
string path,
int[] columnBreaks
)
Parameters
- path String
- The path to the file.
- columnBreaks Int32[]
- An integer array containing the zero-based indexes of the column breaks on each row.
Return Value
FixedWidthTextStreamA FixedWidthTextOptions.