Méthode | Description | |
---|---|---|
ReadFile ( Stream file, string fileName, |
Read the whole FileStream line by line until no more come. Convert the lines into a datatuple based on the datastructure. Return value is a list of datatuples
|
|
ReadFile ( Stream file, string fileName, |
Read line by line based on a packageSize. Convert the lines into a datatuple based on the datastructure. Return value is a list of datatuples
|
|
ReadFile ( Stream file,
|
||
ReadValuesFromFile ( Stream file, string fileName,
|
Get all values from the FileStream of each variable in variable list
|
|
ValidateFile ( Stream file, string fileName, |
Validate the whole FileStream line by line until no more come. Convert the lines into a datatuple based on the datastructure. Return value is a list of datatuples A list of errorMessages is filled when the fil is not valid |
Méthode | Description | |
---|---|---|
ValidateDatastructure ( string line, char sep ) : bool |
Validate the datastructure
|
Méthode | Description | |
---|---|---|
convertAndAddToSubmitedVariableIdentifier ( ) : void |
Convert a list of variable names to VariableIdentifiers
|
|
rowToList ( string line, char seperator ) : List |
Convert a row as a string to a list of strings
|
|
textMarkerHandling ( string row, char separator, char textmarker ) : List |
If a seperator is present in a text which is highlighted with highlighter (bsp quotes), which is a special case which is treated in this function
|
public ReadFile ( Stream file, string fileName, |
||
file | Stream | |
fileName | string | name of the FileStream |
fri | AsciiFileReaderInfo needed | |
sds | StructuredDataStructure | |
datasetId | long | Id of the dataset |
Résultat | List |
public ReadFile ( Stream file, string fileName, |
||
file | Stream | |
fileName | string | name of the FileStream |
fri | AsciiFileReaderInfo needed | |
sds | StructuredDataStructure | |
datasetId | long | Id of the dataset |
packageSize | int | |
Résultat | List |
public ReadFile ( Stream file,
|
||
file | Stream | |
fri | ||
Résultat | List
|
public ReadValuesFromFile ( Stream file, string fileName,
|
||
file | Stream | |
fileName | string | name of the FileStream |
fri | AsciiFileReaderInfo needed | |
sds | StructuredDataStructure | |
datasetId | long | Id of the dataset |
variableList | List |
List of variables |
packageSize | int | size of a package |
Résultat | List
|
protected ValidateDatastructure ( string line, char sep ) : bool | ||
line | string | line which include the datastructure as names |
sep | char | TextSeparator as Character |
Résultat | bool |
public ValidateFile ( Stream file, string fileName, |
||
file | Stream | |
fileName | string | name of the FileStream |
fri | AsciiFileReaderInfo needed | |
sds | StructuredDataStructure | |
datasetId | long | Id of the dataset |
Résultat | void |