This class is subject to change. Programs using this class may require changes with a new version of VirtualLab.
Provides static import functions.
More...
|
| static Encoding | GetFileEncoding (string filePath) |
| | Detects the encoding of a file using a C# port of the Mozilla Universal Charset Detector. Note that this method reads the complete file which might be performance critical.
|
| |
| static SampledInterface | ImportSampledHeightProfile () |
| | Asks for a XML file and imports the data specified in said XML file into a SampledInterface.
|
| |
|
|
static int | DefaultNonUnicodeCodePage |
| | The code page used for non-unicode text files. Unless changed, it is code page 1252 is the "Western European" code page, often referred to as "ANSI". (https://en.wikipedia.org/wiki/Windows-1252)
|
| |
This class is subject to change. Programs using this class may require changes with a new version of VirtualLab.
Provides static import functions.
◆ GetFileEncoding()
| static Encoding GetFileEncoding |
( |
string | filePath | ) |
|
|
static |
Detects the encoding of a file using a C# port of the Mozilla Universal Charset Detector. Note that this method reads the complete file which might be performance critical.
- Parameters
-
| filePath | Full file path of the text file for which the encoding is to be detected. |
- Returns
- The appropriate encoding. DefaultNonUnicodeCodePage is used as fallback.
◆ ImportSampledHeightProfile()
| static SampledInterface ImportSampledHeightProfile |
( |
| ) |
|
|
static |
Asks for a XML file and imports the data specified in said XML file into a SampledInterface.
- Returns
- The imported SampledInterface.