PDIParser Class
This abstract base class implements the common functionality for all PDI data stream parsers
Definition
Namespace: EWSoftware.PDI.Parser
Assembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2025.1.9.0
Assembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2025.1.9.0
C#
public abstract class PDIParserVB
Public MustInherit Class PDIParserC++
public ref class PDIParser abstractF#
[<AbstractClassAttribute>]
type PDIParser = class end- Inheritance
- Object PDIParser
- Derived
Remarks
The parser is very forgiving and should be able to parse most PDI data streams even when they
contain syntax errors.
Constructors
| PDIParser | Default constructor. It is protected as this class must be derived from in order to implement the abstract methods. |
Properties
| DefaultEncoding | This property is used to set or get the default text encoding method used when parsing a PDI data stream. |
| LineNumber | This returns the current line number being processed from the data stream |
Methods
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
| Flush | This is called to flush any pending property or value data when the end of a data stream has been reached. |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
| ParseFile | This method is used to parse one or more PDI objects from the specified file or URL |
| ParseReader | This method is used to parse one or more PDI objects from a TextReader derived object such as a StreamReader or a StringReader. |
| ParseString | This method is used to parse one or more PDI objects from a string |
| PropertyParser | Override this in derived classes to handle properties as they are parsed from the data stream |
| ResetState | This resets the parser to a default state |
| ToString | Returns a string that represents the current object. (Inherited from Object) |