Top Constructors Methods
org.jabref.logic.importer.fileformat

public Class CiteSeerParser

extends Object
Class Inheritance
Imports
java.net.CookieHandler, .CookieManager, java.util.ArrayList, .List, .Optional, org.jabref.logic.importer.AuthorListParser, .ParseException, org.jabref.model.entry.BibEntry, org.jabref.model.entry.field.StandardField, org.jabref.model.strings.StringUtil, kong.unirest.core.json.JSONArray, kong.unirest.core.json.JSONObject

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private String
parseAuthors(Optional<kong.unirest.core.json.JSONArray> authorsOpt)

private BibEntry

Returns:

BibEntry
parseBibEntry
(kong.unirest.core.json.JSONObject
Search response as a JSON Object
jsonObj
)

Warning

The DOI for each parsed BibEntry is not a valid DOI.

public List<BibEntry>
parseCiteSeerResponse(kong.unirest.core.json.JSONArray jsonResponse)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

CiteSeerParserback to summary
public CiteSeerParser()

Method Detail

parseAuthorsback to summary
private String parseAuthors(Optional<kong.unirest.core.json.JSONArray> authorsOpt)
parseBibEntryback to summary
private BibEntry parseBibEntry(kong.unirest.core.json.JSONObject jsonObj)

Warning

The DOI for each parsed BibEntry is not a valid DOI. Cite Seer associates an id with each response as a unique hash. However, it is not a valid variation of a DOI value.

Parameters
jsonObj:kong.unirest.core.json.JSONObject

Search response as a JSON Object

Returns:BibEntry

BibEntry

parseCiteSeerResponseback to summary
public List<BibEntry> parseCiteSeerResponse(kong.unirest.core.json.JSONArray jsonResponse) throws ParseException