@@ -0,0 +1,784 @@
+package page;%0A%0Aimport java.util.ArrayList;%0Aimport java.util.List;%0A%0Aimport reg.Reg;%0A%0Aimport net.HttpPage;%0A%0Apublic class HomePage %7B%0A%09private final String REG_STR = %22hl%5C%5C?a%5B%5E%5C%22%5D+%22;%0A%09private final String CODE_MODE = %22utf8%22;%0A%09private final String URL_STR = %22http://news.yahoo.co.jp/%22;%0A%09%0A%09private final String URL_PRE = %22http://headlines.yahoo.co.jp/%22;%0A%09%0A%09public List%3CString%3E getNewsPageList()%7B%0A%09%09List%3CString%3E newsPageList = new ArrayList%3CString%3E();%0A%09%09%0A%09%09HttpPage.CODE_MODE = CODE_MODE;%0A%09%09String content = HttpPage.getPageSource(URL_STR);%0A%09%09%0A//%09%09System.out.println(content);%0A%09%09%0A%09%09List%3CString%3E matchList = Reg.matches(REG_STR, content);%0A%09%09%0A%09%09for(String matchStr : matchList)%7B%0A%09%09%09if(!matchStr.endsWith(%22'%22))%7B%0A%09%09%09%09newsPageList.add(URL_PRE + matchStr);%09%0A%09%09%09%7D%0A%09%09%7D%0A%09%09%0A%09%09return newsPageList;%0A%09%7D%0A%7D%0A

Create HomePage.java