HTMLparser Methods

Majestic12

High-performance .NET C# HTMLparser Library

HTMLparser Methods

The methods of the HTMLparser class are listed below. For a complete list of HTMLparser class members, see the HTMLparser Members topic.

Public Static Methods

CalculateWidth Parses WIDTH param and calculates width
DecodeEntities This function will decode any entities found in a string - not fast!
IsBiggerFont Checks if first font is bigger than the second
IsEqualOrBiggerFont Checks if first font is equal or bigger than the second
ParseFontSize Parses font's tag size param

Public Instance Methods

ChangeToEntities Parses line and changes known entiry characters into proper HTML entiries
CleanUp Cleans up parser in preparation for next parsing
Close Closes object and releases all allocated resources
Dispose 
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
InitOverloaded. Initialises parses with HTML to be parsed from provided string
InitMiniEntities Inits mini-entities mode: only "nbsp" will be converted into space, all other entities will be left as is
LoadFromFile Loads HTML from file
ParseNext Parses next chunk and returns it with
ParseNextTag Returns next tag or null if end of document, text will be ignored completely
Reset Resets current parsed data to start
SetChunkHashMode Sets chunk param hash mode
SetEncodingOverloaded. Sets encoding
SetRawHTML Sets oHTML variable in a chunk to the raw HTML that was parsed for that chunk.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

HTMLparser Class | Majestic12 Namespace