Package us.codecraft.webmagic
Class HtmlTest
- java.lang.Object
-
- us.codecraft.webmagic.HtmlTest
-
public class HtmlTest extends Object
- Author:
- code4crafter@gmail.com
Date: 13-4-21 Time: 上午8:42
-
-
Constructor Summary
Constructors Constructor Description HtmlTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testAHrefExtract()
void
testDisableJsoupHtmlEntityEscape()
void
testEnableJsoupHtmlEntityEscape()
void
testGetHrefsByJsoup()
void
testNthNodesGet()
void
testRegexSelector()
-
-
-
Method Detail
-
testRegexSelector
public void testRegexSelector()
-
testDisableJsoupHtmlEntityEscape
public void testDisableJsoupHtmlEntityEscape() throws Exception
- Throws:
Exception
-
testEnableJsoupHtmlEntityEscape
public void testEnableJsoupHtmlEntityEscape() throws Exception
- Throws:
Exception
-
testAHrefExtract
public void testAHrefExtract()
-
testNthNodesGet
public void testNthNodesGet()
-
testGetHrefsByJsoup
public void testGetHrefsByJsoup()
-
-