Top Description Methods
org.jabref.logic.importer

public Interface EntryBasedParserFetcher

extends EntryBasedFetcher, ParserFetcher
Known Direct Implementers
org.jabref.logic.importer.fetcher.AstrophysicsDataSystem, org.jabref.logic.importer.fetcher.CrossRef, org.jabref.logic.importer.fetcher.MathSciNet, org.jabref.logic.importer.fetcher.ZbMATH
Imports
java.io.BufferedInputStream, .IOException, .InputStream, java.net.MalformedURLException, .URISyntaxException, .URL, java.util.Collections, .List, .Objects, org.jabref.model.entry.BibEntry

Provides a convenient interface for entry-based fetcher, which follow the usual three-step procedure: 1. Open a URL based on the entry 2. Parse the response to get a list of BibEntry 3. Post-process fetched entries

Method Summary

Modifier and TypeMethod and Description
public Parser
getParser()

Returns the parser used to convert the response to a list of BibEntry.

public URL
getURLForEntry(BibEntry
the entry to look information for
entry
)

Constructs a URL based on the BibEntry.

public default List<BibEntry>
performSearch(BibEntry
entry to search bibliographic information for
entry
)

Implements org.jabref.logic.importer.EntryBasedFetcher.performSearch.

Looks for hits which are matched by the given BibEntry.

Inherited from org.jabref.logic.importer.ParserFetcher:
doPostCleanup

Method Detail

getParserback to summary
public Parser getParser()

Returns the parser used to convert the response to a list of BibEntry.

getURLForEntryback to summary
public URL getURLForEntry(BibEntry entry) throws URISyntaxException, MalformedURLException, FetcherException

Constructs a URL based on the BibEntry.

Parameters
entry:BibEntry

the entry to look information for

performSearchback to summary
public default List<BibEntry> performSearch(BibEntry entry) throws FetcherException

Implements org.jabref.logic.importer.EntryBasedFetcher.performSearch.

Doc from org.jabref.logic.importer.EntryBasedFetcher.performSearch.

Looks for hits which are matched by the given BibEntry.

Parameters
entry:BibEntry

entry to search bibliographic information for

Returns:List<BibEntry>

a list of BibEntry, which are matched by the query (may be empty)

Annotations
@Override