Package jc.pbntools.download

Examples of jc.pbntools.download.KopsTourDownloader


 
  /** 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 BboTourDownloader(), false);
      } else if (args[i].equals("-dtk")) {
        m_bRunMainDialog = false;
        ++i;
        if (i >= args.length) { System.err.println(getStr("error.missingArg")); System.exit(1); }
        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);
View Full Code Here

@Test public void pobierzKopsWwwTest4()
  throws java.io.FileNotFoundException, java.io.IOException
{
  PbnToolsTests.pobierzTestHelper(
    new KopsTourDownloader(),
    "http://localhost/pbntools/test_4_kops_www_20130807/protokoly/01/chorzow/13/SM0807/",
    "test/test_4_kops_www_20130807/sm0807.pbn",
    "SM0807/sm0807.pbn");
}
View Full Code Here

  File fTempDir = new File("work/junit-tmp");
  fTempDir.mkdir();
  System.setProperty("jc.debug", "0");
  PbnTools.m_props.setProperty("workDir", fTempDir.toString());
  PbnTools.downTour("test/test_2_kops/PCH1003/index.html",
    new KopsTourDownloader(), false);
  makePbnNakedAsFromBash(new File(fTempDir, "PCH1003/pch1003.pbn"));
 
  // the pbn file from bash also needs adjusting, so copying it
  File fOrig = new File("test/test_2_kops/PCH1003/PCH1003.pbn");
  File fOrig2 = new File(fTempDir, "PCH1003/pch1003_0.pbn");
View Full Code Here

TOP

Related Classes of jc.pbntools.download.KopsTourDownloader

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.