Provides utility methods to detect file type. More...
Public Member Functions | |
| FileFormatUtil ()=delete | |
Static Public Member Functions | |
| static System::SharedPtr< FileFormatInfo > | DetectFileFormat (System::SharedPtr< System::IO::Stream > stream) |
| Detects and returns the information about a format of a file stored in a stream. More... | |
| static System::SharedPtr< FileFormatInfo > | DetectFileFormat (System::String filePath) |
| Detects and returns the information about a format of a file. More... | |
| static FileFormatType | CheckTextFormats (System::SharedPtr< System::IO::Stream > stream) |
| static bool | IsMsgFormat (System::SharedPtr< System::IO::Stream > stream) |
Provides utility methods to detect file type.
|
delete |
|
static |
|
static |
Detects and returns the information about a format of a file stored in a stream.
| stream | Source stream. |
|
static |
Detects and returns the information about a format of a file.
| filePath | Path to the source file. |
|
static |