lumis.util.parse
Class HtmlParser

Package class diagram package HtmlParser
java.lang.Object
  extended by lumis.util.parse.BaseFileParser
      extended by lumis.util.parse.HtmlParser
All Implemented Interfaces:
IFileParser

public class HtmlParser
extends BaseFileParser

Extracts text from a HTML file.

Since:
4.0.10

Constructor Summary
HtmlParser()
           
 
Method Summary
 String extract(InputStream inputStream, Charset charset)
           
 String extract(String input)
           
 
Methods inherited from class lumis.util.parse.BaseFileParser
extract, extract, inferCharset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HtmlParser

public HtmlParser()
Method Detail

extract

public String extract(InputStream inputStream,
                      Charset charset)
               throws ParseException
Specified by:
extract in interface IFileParser
Specified by:
extract in class BaseFileParser
Throws:
ParseException

extract

public String extract(String input)
               throws ParseException
Throws:
ParseException


Lumisportal  4.1.0.071221 - Copyright © 2001-2007, Lumis. All Rights Reserved.