Examples of BibtexEntry


Examples of net.sf.jabref.BibtexEntry

  public String t2BibtexString() throws IOException {
    return bibtexEntry2BibtexString(t2BibtexEntry());
  }

  public BibtexEntry t2BibtexEntry() {
    BibtexEntry e = new BibtexEntry(Util.createNeutralId(),
        BibtexEntryType.INCOLLECTION);
    e.setField("title", "�pt�mz�t��n");
    e.setField("bibtexkey", "OezbekC06");
    e.setField("year", "2003");
    e
        .setField(
            "booktitle",
            "Proceedings of the of the 25th International Conference on Software-Engineering (Portland, Oregon)");
    e.setField("pdf", "YeKis03 - Towards.pdf");
    return e;
  }
View Full Code Here

Examples of net.sf.jabref.BibtexEntry

    e.setField("pdf", "YeKis03 - Towards.pdf");
    return e;
  }

  public BibtexEntry t3BibtexEntry() {
    BibtexEntry e = new BibtexEntry();
    e.setType(BibtexEntryType.INPROCEEDINGS);
    e.setField("title", "Hypersonic ultra-sound");
    e.setField("bibtexkey", "Clarkson06");
    e.setField("author", "Kelly Clarkson and Ozzy Osbourne");
    e.setField("journal", "International Journal of High Fidelity");
    e.setField("booktitle", "Catch-22");
    e.setField("editor", "Huey Duck and Dewey Duck and Louie Duck");
    e.setField("pdf", "YeKis03 - Towards.pdf");
    e.setField("keywords", "peanut,butter,jelly");
    e.setField("year", "1982");
    e.setField("month", "#jul#");
    e
        .setField(
            "abstract",
            "The success of the Linux operating system has demonstrated the viability of an alternative form of software development � open source software � that challenges traditional assumptions about software markets. Understanding what drives open source developers to participate in open source projects is crucial for assessing the impact of open source software. This article identifies two broad types of motivations that account for their participation in open source projects. The first category includes internal factors such as intrinsic motivation and altruism, and the second category focuses on external rewards such as expected future returns and personal needs. This article also reports the results of a survey administered to open source programmers.");
    return e;
  }
View Full Code Here

Examples of net.sf.jabref.BibtexEntry

    writeManually(pdfFile, bibtexXPacket(bibtexDescription(bibtex)));

    List<BibtexEntry> l = XMPUtil.readXMP(pdfFile.getAbsoluteFile());
    assertEquals(1, l.size());
    BibtexEntry e = l.get(0);

    assertNotNull(e);
    assertEquals("OezbekC06", e.getCiteKey());
    assertEquals("2003", e.getField("year"));
    assertEquals("Beach sand convolution by surf-wave optimzation", e
        .getField("title"));
    assertEquals(BibtexEntryType.OTHER, e.getType());

  }
View Full Code Here

Examples of net.sf.jabref.BibtexEntry

    IsiImporter importer = new IsiImporter();

    List<BibtexEntry> entries = importer.importEntries(IsiImporterTest.class
      .getResourceAsStream("IsiImporterTest1.isi"));
    assertEquals(1, entries.size());
    BibtexEntry entry = entries.get(0);
    assertEquals("Optical properties of MgO doped LiNbO$_3$ single crystals", entry
      .getField("title"));
    assertEquals(
      "James Brown and James Marc Brown and Brown, J. M. and Brown, J. and Brown, J. M. and Brown, J.",
      entry.getField("author"));

    assertEquals(BibtexEntryType.ARTICLE, entry.getType());
    assertEquals("Optical Materials", entry.getField("journal"));
    assertEquals("2006", entry.getField("year"));
    assertEquals("28", entry.getField("volume"));
    assertEquals("5", entry.getField("number"));
    assertEquals("467--72", entry.getField("pages"));

    // What todo with PD and UT?
  }
View Full Code Here

Examples of net.sf.jabref.BibtexEntry

    writeManually(pdfFile, bibtexXPacket(bibtexDescription(bibtex)));

    List<BibtexEntry> l = XMPUtil.readXMP(pdfFile.getAbsoluteFile());
    assertEquals(1, l.size());
    BibtexEntry e = l.get(0);

    assertNotNull(e);
    assertEquals("OezbekC06", e.getCiteKey());
    assertEquals("2003", e.getField("year"));
    assertEquals("�pt�mz�t��n", e.getField("title"));
    assertEquals(BibtexEntryType.OTHER, e.getType());
  }
View Full Code Here

Examples of net.sf.jabref.BibtexEntry

    { // First set:
      prefs.putBoolean("useXmpPrivacyFilter", true);
      prefs.putStringArray("xmpPrivacyFilter",
          new String[] { "author;title;note" });

      BibtexEntry e = t1BibtexEntry();

      XMPUtil.writeXMP(pdfFile, e, null);

      List<BibtexEntry> l = XMPUtil.readXMP(pdfFile.getAbsoluteFile());
      assertEquals(1, l.size());
      BibtexEntry x = l.get(0);

      Set<String> ts = x.getAllFields();

      assertEquals(8, ts.size());

      ts.contains("bibtextype");
      ts.contains("bibtexkey");
      ts.contains("booktitle");
      ts.contains("year");
      ts.contains("owner");
      ts.contains("timestamp");
      ts.contains("year");
      ts.contains("url");
    }
    { // First set:
      prefs.putBoolean("useXmpPrivacyFilter", true);
      prefs
          .putStringArray(
              "xmpPrivacyFilter",
              new String[] { "author;title;note;booktitle;year;owner;timestamp" });

      BibtexEntry e = t1BibtexEntry();

      XMPUtil.writeXMP(pdfFile, e, null);

      List<BibtexEntry> l = XMPUtil.readXMP(pdfFile.getAbsoluteFile());
      assertEquals(1, l.size());
      BibtexEntry x = l.get(0);
      Set<String> ts = x.getAllFields();
      assertEquals(8, ts.size());

      ts.contains("bibtextype");
      ts.contains("bibtexkey");
      ts.contains("year");
View Full Code Here

Examples of net.sf.jabref.BibtexEntry

    List<BibtexEntry> entries = importer.importEntries(IsiImporterTest.class
      .getResourceAsStream("IsiImporterTestInspec.isi"));

    assertEquals(2, entries.size());
    BibtexEntry a = entries.get(0);
    BibtexEntry b = entries.get(1);

    if (a.getField("title").equals(
      "Optical and photoelectric spectroscopy of photorefractive Sn$_2$P$_2$S$_6$ crystals")) {
      BibtexEntry tmp = a;
      a = b;
      b = tmp;
    }

    // Check a
View Full Code Here

Examples of net.sf.jabref.BibtexEntry

    List<BibtexEntry> entries = importer.importEntries(IsiImporterTest.class
      .getResourceAsStream("IsiImporterTestWOS.isi"));

    assertEquals(2, entries.size());
    BibtexEntry a = entries.get(0);
    BibtexEntry b = entries.get(1);

    if (a.getField("title").equals(
      "Optical waveguides in Sn2P2S6 by low fluence MeV He+ ion implantation")) {
      BibtexEntry tmp = a;
      a = b;
      b = tmp;
    }

    assertEquals("Optical and photoelectric spectroscopy of photorefractive Sn2P2S6 crystals",
View Full Code Here

Examples of net.sf.jabref.BibtexEntry

    List<BibtexEntry> entries = importer.importEntries(IsiImporterTest.class
      .getResourceAsStream("IEEEImport1.txt"));

    assertEquals(1, entries.size());
    BibtexEntry a = entries.get(0);
   
    assertEquals(a.getType().getName(), BibtexEntryType.ARTICLE, a.getType());
    assertEquals("Geoscience and Remote Sensing Letters, IEEE", a.getField("journal"));
    assertEquals(
      "Improving Urban Road Extraction in High-Resolution " +
      "Images Exploiting Directional Filtering, Perceptual " +
      "Grouping, and Simple Topological Concepts",
      a.getField("title"));

    assertEquals("4", a.getField("volume"));
    assertEquals("3", a.getField("number"));
   
    assertEquals("1545-598X", a.getField("SN"))

    assertEquals("387--391", a.getField("pages"));

    assertEquals("Gamba, P. and Dell'Acqua, F. and Lisini, G.", a.getField("author"));

    assertEquals("2006", a.getField("year"));

    assertEquals("Perceptual grouping, street extraction, urban remote sensing", a.getField("keywords"));

    assertEquals("In this letter, the problem of detecting urban road " +
        "networks from high-resolution optical/synthetic aperture " +
        "radar (SAR) images is addressed. To this end, this letter " +
        "exploits a priori knowledge about road direction " +
        "distribution in urban areas. In particular, this letter " +
        "presents an adaptive filtering procedure able to capture the " +
        "predominant directions of these roads and enhance the " +
        "extraction results. After road element extraction, to both " +
        "discard redundant segments and avoid gaps, a special " +
        "perceptual grouping algorithm is devised, exploiting " +
        "colinearity as well as proximity concepts. Finally, the road " +
        "network topology is considered, checking for road " +
        "intersections and regularizing the overall patterns using " +
        "these focal points. The proposed procedure was tested on a " +
        "pair of very high resolution images, one from an optical " +
        "sensor and one from a SAR sensor. The experiments show an " +
        "increase in both the completeness and the quality indexes " +
        "for the extracted road network.", a.getField("abstract"));
   
  }
View Full Code Here

Examples of net.sf.jabref.BibtexEntry

    writeManually(pdfFile, bibtexXPacket(bibtexDescription(bibtex)));

    List<BibtexEntry> l = XMPUtil.readXMP(pdfFile.getAbsoluteFile());
    assertEquals(1, l.size());
    BibtexEntry e = l.get(0);

    assertNotNull(e);
    assertEquals("Clarkson06", e.getCiteKey());
    assertEquals("Kelly Clarkson and Ozzy Osbourne", e.getField("author"));
    assertEquals("Huey Duck and Dewey Duck and Louie Duck", e
        .getField("editor"));
    assertEquals(BibtexEntryType.OTHER, e.getType());
  }
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.