FixedWidthTextFile.Open Method

Definition

Namespace: Extreme.Data.Text
Assembly: Extreme.Data (in Extreme.Data.dll) Version: 3.2.0

Overload List

Open(Stream, FixedWidthTextOptions) Opens a data stream in fixed width format for reading.
Open(Stream, Int32[]) Opens a data stream in fixed width format for reading.
Open(String, FixedWidthTextOptions) Opens a data file in fixed width format for reading.
Open(String, Int32[]) Opens a data file in fixed width format for reading.

FixedWidthTextFile.Open(Stream, FixedWidthTextOptions)

Opens a data stream in fixed width format for reading.
C#
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

FixedWidthTextStream
A FixedWidthTextOptions.

FixedWidthTextFile.Open(Stream, Int32[])

Opens a data stream in fixed width format for reading.
C#
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

FixedWidthTextStream
A FixedWidthTextOptions.

FixedWidthTextFile.Open(String, FixedWidthTextOptions)

Opens a data file in fixed width format for reading.
C#
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

FixedWidthTextStream
A FixedWidthTextOptions.

FixedWidthTextFile.Open(String, Int32[])

Opens a data file in fixed width format for reading.
C#
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

FixedWidthTextStream
A FixedWidthTextOptions.

See Also