이름 |
설명 |
BaseFileParser |
A basic implementation of the IFileParser interface which utilize parse strategies to parse any file. Specific file parsers are meant to derive from this class. |
BaseParseStrategy |
|
FileParserFactory |
A builder pattern, factory pattern crosover which allows us to get the appropriate file parser as well as specify the file path, encoding, and parse strategy. |
HtmlFileParser |
A simple implementation of a html file parser which achieves removing tags from html files and returning only what is contatined between . Also deletes all scripts from the html file. |
ParseStrategy |
|
ParseStrategyExtensions |
Extends the IParseStrategy interface to make usage more intuitive and simple - uses the decorator pattern. |
RemoveCapitalLettersStrategy |
|
ReplaceNonASCIIStrategy |
|