public abstract class HtmlParser extends Object
Modifier and Type | Field and Description |
---|---|
protected static String |
CLASS_ATTR_NAME |
protected hudson.model.TaskListener |
listener |
protected File |
rootFilePath |
protected static String |
TABLE_TAG_NAME |
protected static String |
TD_TAG_NAME |
protected static String |
TT_TAG_NAME |
Constructor and Description |
---|
HtmlParser(File rootFilePath) |
Modifier and Type | Method and Description |
---|---|
protected String |
getHtml(InputStream input) |
protected abstract org.htmlparser.tags.TableTag |
getReportTable(org.htmlparser.Parser htmlParser) |
protected String |
getTextAtNode(org.htmlparser.util.NodeList nodeList,
int index) |
protected org.htmlparser.Parser |
initParser(String html) |
protected static final String TABLE_TAG_NAME
protected static final String TD_TAG_NAME
protected static final String TT_TAG_NAME
protected static final String CLASS_ATTR_NAME
protected final File rootFilePath
protected hudson.model.TaskListener listener
public HtmlParser(File rootFilePath)
protected String getHtml(InputStream input) throws IOException
IOException
protected org.htmlparser.Parser initParser(String html) throws org.htmlparser.util.ParserException
org.htmlparser.util.ParserException
protected String getTextAtNode(org.htmlparser.util.NodeList nodeList, int index)
protected abstract org.htmlparser.tags.TableTag getReportTable(org.htmlparser.Parser htmlParser) throws org.htmlparser.util.ParserException
org.htmlparser.util.ParserException
Copyright © 2016–2017. All rights reserved.