Top Description Methods
org.jabref.logic.importer

public Interface FulltextFetcher

Known Direct Implementers
org.jabref.logic.importer.fetcher.JstorFetcher, org.jabref.logic.importer.fetcher.ACS, org.jabref.logic.importer.fetcher.ApsFetcher, org.jabref.logic.importer.fetcher.ArXivFetcher, org.jabref.logic.importer.fetcher.ArXivFetcher.ArXiv, org.jabref.logic.importer.fetcher.CiteSeer, org.jabref.logic.importer.fetcher.DoiResolution, org.jabref.logic.importer.fetcher.GoogleScholar, org.jabref.logic.importer.fetcher.IacrEprintFetcher, org.jabref.logic.importer.fetcher.IEEE, org.jabref.logic.importer.fetcher.OpenAccessDoi, org.jabref.logic.importer.fetcher.ResearchGate, org.jabref.logic.importer.fetcher.ScienceDirect, org.jabref.logic.importer.fetcher.SemanticScholar, org.jabref.logic.importer.fetcher.SpringerLink
Imports
java.io.IOException, java.net.URL, java.util.Optional, org.jabref.logic.importer.fetcher.TrustLevel, org.jabref.model.entry.BibEntry

This interface is used for classes that try to resolve a full-text PDF url for a BibTex entry. Implementing classes should specialize on specific article sites. See e.g. @link{http://libguides.mit.edu/apis}.

Method Summary

Modifier and TypeMethod and Description
public Optional<URL>

Returns:

The fulltext PDF URL Optional, if found, or an empty Optional if not found.
findFullText
(BibEntry
The Bibtex entry
entry
)

Tries to find a fulltext URL for a given BibTex entry.

public default TrustLevel

Returns:

The trust level of the fetcher, the higher the better
getTrustLevel
()

Returns the level of trust for this fetcher.

Method Detail

findFullTextback to summary
public Optional<URL> findFullText(BibEntry entry) throws IOException, FetcherException

Tries to find a fulltext URL for a given BibTex entry.

Parameters
entry:BibEntry

The Bibtex entry

Returns:Optional<URL>

The fulltext PDF URL Optional, if found, or an empty Optional if not found.

Exceptions
IOException:
if an IO operation has failed
FetcherException:
if a fetcher specific error occurred
NullPointerException:
if no BibTex entry is given
getTrustLevelback to summary
public default TrustLevel getTrustLevel()

Returns the level of trust for this fetcher. We distinguish between publishers and meta search engines for example.

Returns:TrustLevel

The trust level of the fetcher, the higher the better