Top Description Fields Constructors Methods
org.jabref.logic.importer.fetcher

public Class IssnFetcher

extends Object
implements EntryBasedFetcher, IdBasedFetcher
Class Inheritance
All Implemented Interfaces
org.jabref.logic.importer.IdBasedFetcher, org.jabref.logic.importer.WebFetcher, org.jabref.logic.importer.EntryBasedFetcher
Imports
java.util.Collections, .List, .Optional, org.jabref.logic.importer.EntryBasedFetcher, .FetcherException, .IdBasedFetcher, org.jabref.logic.journals.JournalInformation, org.jabref.model.entry.BibEntry, org.jabref.model.entry.field.StandardField

Fetcher to generate the BibTex entry from an ISSN. As an ISSN ist just a journal identifier, so we only return journal title and publisher The idea is to use the JournalInformationFetcher to do a request for a given ISSN.

Field Summary

Modifier and TypeField and Description
private final JournalInformationFetcher

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String
getName()

Implements org.jabref.logic.importer.WebFetcher.getName.

Returns the localized name of this fetcher.

private BibEntry
public 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.

public Optional<BibEntry>
performSearchById(String
a string which uniquely identifies the item
identifier
)

Implements org.jabref.logic.importer.IdBasedFetcher.performSearchById.

Looks for bibliographic information associated to the given identifier.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

journalInformationFetcherback to summary
private final JournalInformationFetcher journalInformationFetcher

Constructor Detail

IssnFetcherback to summary
public IssnFetcher()

Method Detail

getNameback to summary
public String getName()

Implements org.jabref.logic.importer.WebFetcher.getName.

Doc from org.jabref.logic.importer.WebFetcher.getName.

Returns the localized name of this fetcher. The title can be used to display the fetcher in the menu and in the side pane.

Returns:String

the localized name

Annotations
@Override
journalInformationToBibEntryback to summary
private BibEntry journalInformationToBibEntry(JournalInformation journalInfo, String issn)
performSearchback to summary
public 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
performSearchByIdback to summary
public Optional<BibEntry> performSearchById(String identifier) throws FetcherException

Implements org.jabref.logic.importer.IdBasedFetcher.performSearchById.

Doc from org.jabref.logic.importer.IdBasedFetcher.performSearchById.

Looks for bibliographic information associated to the given identifier.

Parameters
identifier:String

a string which uniquely identifies the item

Returns:Optional<BibEntry>

a BibEntry containing the bibliographic information (or an empty optional if no data was found)

Annotations
@Override