public interface HTMLParser
| Modifier and Type | Method and Description |
|---|---|
DocData |
parse(DocData docData,
String name,
Date date,
Reader reader,
DateFormat dateFormat)
Parse the input Reader and return DocData.
|
DocData |
parse(DocData docData,
String name,
Date date,
StringBuffer inputText,
DateFormat dateFormat)
Parse the inputText and return DocData.
|
DocData parse(DocData docData, String name, Date date, Reader reader, DateFormat dateFormat) throws IOException, InterruptedException
dateFormat - date formatter to use for extracting the date.name - name of the result doc data. If null, attempt to set by parsed data.date - date of the result doc data. If null, attempt to set by parsed data.reader - of html text to parse.IOExceptionInterruptedExceptionDocData parse(DocData docData, String name, Date date, StringBuffer inputText, DateFormat dateFormat) throws IOException, InterruptedException
inputText - the html text to parse.IOExceptionInterruptedExceptionparse(DocData, String, Date, Reader, DateFormat)Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.