Extracts the text from the given html content, assuming the given html encoding.
Additionally tags are replaced / removed according to the configuration of this instance.
Please note:
There are static process methods in the superclass that will not do the replacements /
removals. Don't mix them up with this method.
Parameters: html - the content to extract the plain text from. Parameters: encoding - the encoding to use. the text extracted from the given html content. throws: ParserException - if something goes wrong. |