Verified Owner
Top Description Methods
org.jabref.logic.importer

public Interface IdFetcher<T extends Identifier>

extends WebFetcher
Known Direct Subinterfaces
org.jabref.logic.importer.IdParserFetcher
Known Direct Implementers
org.jabref.logic.importer.fetcher.ArXivFetcher, org.jabref.logic.importer.fetcher.ArXivFetcher.ArXiv
Imports
java.util.Optional, org.jabref.model.entry.BibEntry, org.jabref.model.entry.identifier.Identifier

Looks for article identifier based on already present bibliographic information.

Method Summary

Modifier and TypeMethod and Description
public Optional<T>

Returns:

the identifier (if an ID was found, otherwise an empty Optional)
findIdentifier
(BibEntry
the BibEntry for which an identifier should be found
entry
)

Looks for an identifier based on the information stored in the given BibEntry.

public String
getIdentifierName()

Returns the name of the identifier that is returned by this fetcher.

Inherited from org.jabref.logic.importer.WebFetcher:
getHelpPagegetNamegetUrlDownload

Method Detail

findIdentifierback to summary
public Optional<T> findIdentifier(BibEntry entry) throws FetcherException

Looks for an identifier based on the information stored in the given BibEntry.

Parameters
entry:BibEntry

the BibEntry for which an identifier should be found

Returns:Optional<T>

the identifier (if an ID was found, otherwise an empty Optional)

getIdentifierNameback to summary
public String getIdentifierName()

Returns the name of the identifier that is returned by this fetcher.