Verified Owner
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.IOException, .InputStream, java.net.MalformedURLException, .URISyntaxException, .URL, java.util.List, org.jabref.model.entry.BibEntry, org.jspecify.annotations.NonNull, org.slf4j.LoggerFactory

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(@NonNull BibEntry 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(@NonNull 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.

Annotations
@Override