| INativeFileParser Interface |
Namespace: Sdl.FileTypeSupport.Framework.NativeApi
The INativeFileParser type exposes the following members.
| Name | Description | |
|---|---|---|
| MessageReporter |
The framework will set this property as part of initialization of the
file type component.
File type components use this interface to report any non-critical issues
to the framework. (Critical issues are reported by throwing a FileTypeSupportException
or a derived type.)
(Inherited from INativeFileTypeComponent.) | |
| Output |
The framework sets this property before the first call
to ParseNext in order to specify the component that
will process the output from the parser.
The parser implementation should send the whole output to this object.
| |
| PropertiesFactory |
The framework will set this property as part of the initialization of the
file type component.
File type components should use this factory to create the property objects that
are used when outputting to the INativeExtractionContentHandler.
(Inherited from INativeFileTypeComponent.) |
| Name | Description | |
|---|---|---|
| Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.) | |
| ParseNext |
This method is called repeatedly by the framework to process the next chunk of input.
The implementation should parse a suitable (preferably not too large) chunk of the input,
and return a boolean value that indicates whether there is more work to be done before this file is
completely parsed.
(Inherited from IParser.) |
| Name | Description | |
|---|---|---|
| Progress |
The parser fires this event at regular intervals
in order to report the progress so that interested parties can ascertain whether
the parsing process is indeed in progress and has not hung. That way users
get an idea about how fast the parsing job is progressing.
Framework consumers should typically not connect directly to
this event, but rather connect to the corresponding event on the
IFileConverter instance.
(Inherited from IParser.) |