Package jc.pbntools.download

Examples of jc.pbntools.download.ParyTourDownloader


  /** Returns all supported tournament downloaders. */
  public static HtmlTourDownloader[] getTourDownloaders()
  {
    return new HtmlTourDownloader[] {
      new KopsTourDownloader(),
      new ParyTourDownloader(),
      new BboTourDownloader()
    };
  }
View Full Code Here


        downTour(args[i], new KopsTourDownloader(), false);
      } else if (args[i].equals("-dtp")) {
        m_bRunMainDialog = false;
        ++i;
        if (i >= args.length) { System.err.println(getStr("error.missingArg")); System.exit(1); }
        downTour(args[i], new ParyTourDownloader(), false);
      } else if (args[i].startsWith("-")) {
        m_bRunMainDialog = false;
        System.err.println(getStr("error.invSwitch", args[i]));
      } else {
        // non-switch argument
View Full Code Here

@Test public void pobierzParyWwwTest5()
  throws java.io.FileNotFoundException, java.io.IOException
{
  PbnToolsTests.pobierzTestHelper(
    new ParyTourDownloader(),
    "http://localhost/pbntools/test_5_pary_www_20130808/WB130808/wb130808.html",
    "test/test_5_pary_www_20130808/wb130808.pbn",
    "WB130808/wb130808.pbn");
}
View Full Code Here

@Test public void pobierzParyWwwTest9()
  throws java.io.FileNotFoundException, java.io.IOException
{
  PbnToolsTests.pobierzTestHelper(
    new ParyTourDownloader(),
    "http://localhost/pbntools/test_9_pary_www_szczyrk_20131108/131108szczyrk/W-impy.html",
    "test/test_9_pary_www_szczyrk_20131108/131108szczyrk.pbn",
    "131108szczyrk/131108szczyrk.pbn");
}
View Full Code Here

@Test public void pobierzParyTest1()
  throws java.io.FileNotFoundException, java.io.IOException
{
  pobierzTestHelper(
    new ParyTourDownloader(),
    "test/test_1_pary/WB120802/wb120802.html",
    "test/test_1_pary/WB120802/wb120802.pbn",
    "WB120802/wb120802.pbn");
}
View Full Code Here

@Test public void pobierzParyTest3()
  throws java.io.FileNotFoundException, java.io.IOException
{
  pobierzTestHelper(
    new ParyTourDownloader(),
    "test/test_3_pary_20130801/WB130801/wb130801.html",
    "test/test_3_pary_20130801/WB130801/wb130801.pbn",
    "WB130801/wb130801.pbn");
}
View Full Code Here

TOP

Related Classes of jc.pbntools.download.ParyTourDownloader

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.