@@ -0,0 +1,918 @@
+package test;%0A%0Aimport net.HttpPage;%0Aimport news_type_mine_tool.NewsPageMineUtil;%0A%0Apublic class TestGetTitle %7B%0A%09%0A%09public static void main(String%5B%5D args) %7B%0A%09%09System.setProperty(%22http.proxyHost%22,%2210.10.10.78%22);%0A%09%09System.setProperty(%22http.proxyPort%22,%228080%22);%0A%09%09%0A//%09%09String url = %22http://www.banyuetan.org/chcontent/sz/szgc/2015126/123839.html%22;%0A%09%09%0A//%09%09String url = %22http://opinion.people.com.cn/n/2015/0127/c1003-26457847.html%22;%0A//%09%09HttpPage.CODE_MODE = %22GB2312%22;%0A%09%09%0A%09%09String url = %22http://d.hatena.ne.jp/TipsMemo+computer-technology/20150124/p1%22;%0A//%09%09HttpPage.CODE_MODE = %22euc-jp%22;%0A%09%09%0A//%09%09String url = %22http://developer.51cto.com/art/201501/464174.htm%22;%0A//%09%09HttpPage.CODE_MODE = %22GB2312%22;%0A%09%09%0A//%09%09String url = %22http://www.moonmile.net/blog/archives/6778%22;%0A%09%09%0A//%09%09String url = %22http://urakanji.com/wp/4910/%22;%0A%09%09%0A%09%09String content = HttpPage.getPageSource(url);%0A%09%09System.out.println(NewsPageMineUtil.getTitle(content));%0A%09%7D%0A%7D%0A

Create TestGetTitle.java