Package net.sf.jabref.imports

Examples of net.sf.jabref.imports.OAI2Fetcher.constructUrl()


  public void testUrlConstructor() {
    OAI2Fetcher fetcher = new OAI2Fetcher();
    assertEquals(
      "http://export.arxiv.org/oai2?verb=GetRecord&identifier=oai%3AarXiv.org%3Ahep-ph%2F0408155&metadataPrefix=arXiv",
      fetcher.constructUrl("hep-ph/0408155"));

    assertEquals(
      "http://export.arxiv.org/oai2?verb=GetRecord&identifier=oai%3AarXiv.org%3Amath%2F0612188&metadataPrefix=arXiv",
      fetcher.constructUrl("math/0612188"));
View Full Code Here


      "http://export.arxiv.org/oai2?verb=GetRecord&identifier=oai%3AarXiv.org%3Ahep-ph%2F0408155&metadataPrefix=arXiv",
      fetcher.constructUrl("hep-ph/0408155"));

    assertEquals(
      "http://export.arxiv.org/oai2?verb=GetRecord&identifier=oai%3AarXiv.org%3Amath%2F0612188&metadataPrefix=arXiv",
      fetcher.constructUrl("math/0612188"));

  }

  public void testFixKey() {
    assertEquals("", OAI2Fetcher.fixKey(""));
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.