C# Class BaconBuilder.Model.HtmlToTextParser

Class used to convert html content to a plain text string.
Inheritance: Parser
Afficher le fichier Open project: Revelations/BaconApp

Méthodes publiques

Méthode Description
ExtractCoords ( string input ) : Point

Extracts a new (x,y) from the raw bacon.

HtmlToTextParser ( ) : System

Constructor for this class. Populates the dictionary.

Méthodes protégées

Méthode Description
InitialiseDictionary ( ) : void

Populates the dictionary with a set of find/replace key value pairs appropriate for converting html tags to plain text content and 'bacon psuedo tags'. Rules are parsed in the order they are added here.

Method Details

ExtractCoords() public méthode

Extracts a new (x,y) from the raw bacon.
public ExtractCoords ( string input ) : Point
input string
Résultat Point

HtmlToTextParser() public méthode

Constructor for this class. Populates the dictionary.
public HtmlToTextParser ( ) : System
Résultat System

InitialiseDictionary() protected final méthode

Populates the dictionary with a set of find/replace key value pairs appropriate for converting html tags to plain text content and 'bacon psuedo tags'. Rules are parsed in the order they are added here.
protected final InitialiseDictionary ( ) : void
Résultat void