コード例 #1
0
ファイル: TestDriverFra.java プロジェクト: faddison/JTorn
 public static HtmlPage loadIndex() {
   System.out.println("Loading Index...");
   try {
     return wc.getPage("http://torn.com/index.php");
   } catch (FailingHttpStatusCodeException e) {
     // TODO Auto-generated catch block
     e.printStackTrace();
   } catch (MalformedURLException e) {
     // TODO Auto-generated catch block
     e.printStackTrace();
   } catch (IOException e) {
     // TODO Auto-generated catch block
     e.printStackTrace();
   }
   return null;
 }