| SniffInfo Properties |
The SniffInfo type exposes the following members.
| Name | Description | |
|---|---|---|
| DetectedEncoding |
If the file sniffer detects or guesses which encoding is used in the file,
it may communicate this to the other parser components by setting this
property.
| |
| DetectedSourceLanguage |
If the file sniffer detects or guesses the source language in the file, it
can be communicated to the framework by setting this property.
| |
| DetectedTargetLanguage |
If the file sniffer detects or guesses the target language of a bilingual file,
it can be communicated to the framework by setting this property.
| |
| HasMetaData |
True if there are any key/value pairs of metadata in the sniff info
| |
| IsSupported |
The file sniffer sets this property to true in order to indicate
that the corresponding file type definition can be used for processing this file.
| |
| Item | Convenience getter and setter for metadata using indexer syntax. The getter functionality is equivalent to calling SetMetaData(String, String), the setter functionality is equivalent to GetMetaData(String). | |
| MetaData |
Iterator for all metadata key/value pairs
| |
| MetaDataCount |
Number of key/value pairs of metadata
| |
| PersistenceId |
The persistence ID associated with an object may be used
by implementations during operations such as serialization
and de-serialization of the object model.
| |
| SuggestedTargetEncoding |
The file sniffer's suggestion on what type of encoding would be
suitable when generating a translated version of this file.
|