Verified Owner
Top Inners Fields Constructors Methods
org.jabref.logic.importer.fetcher.citation

public Class AllCitationFetcher

extends Object
implements CitationFetcher
Class Inheritance
All Implemented Interfaces
org.jabref.logic.importer.fetcher.citation.CitationFetcher, org.jabref.logic.importer.fetcher.citation.CitationCountFetcher
Annotations
@NullMarked
Imports
java.util.ArrayList, .List, .Optional, org.jabref.logic.ai.chatting.ChatModel, org.jabref.logic.ai.preferences.AiPreferences, org.jabref.logic.citationkeypattern.CitationKeyPatternPreferences, org.jabref.logic.database.DatabaseMerger, org.jabref.logic.importer.FetcherException, .ImportFormatPreferences, .ImporterPreferences, org.jabref.logic.importer.util.GrobidPreferences, org.jabref.logic.l10n.Localization, org.jabref.model.database.BibDatabase, org.jabref.model.entry.BibEntry, org.jspecify.annotations.NullMarked, org.slf4j.Logger, .LoggerFactory

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static interface

Field Summary

Modifier and TypeField and Description
public static final String
private final List<CitationFetcher>
private final char
private static final Logger

Constructor Summary

AccessConstructor and Description
public
AllCitationFetcher(ImporterPreferences importerPreferences, ImportFormatPreferences importFormatPreferences, CitationKeyPatternPreferences citationKeyPatternPreferences, GrobidPreferences grobidPreferences, AiPreferences aiPreferences, ChatModel chatModel)

Method Summary

Modifier and TypeMethod and Description
private List<BibEntry>
public Optional<Integer>
getCitationCount(BibEntry entry)

Implements org.jabref.logic.importer.fetcher.citation.CitationCountFetcher.getCitationCount.

Get the paper details that includes citation count field for a given BibEntry.

public List<BibEntry>
public String
getName()

Implements org.jabref.logic.importer.fetcher.citation.CitationFetcher.getName.

Returns the localized name of this fetcher.

public List<BibEntry>
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

FETCHER_NAMEback to summary
public static final String FETCHER_NAME
fetchersback to summary
private final List<CitationFetcher> fetchers
keywordSeparatorback to summary
private final char keywordSeparator
LOGGERback to summary
private static final Logger LOGGER

Constructor Detail

AllCitationFetcherback to summary
public AllCitationFetcher(ImporterPreferences importerPreferences, ImportFormatPreferences importFormatPreferences, CitationKeyPatternPreferences citationKeyPatternPreferences, GrobidPreferences grobidPreferences, AiPreferences aiPreferences, ChatModel chatModel)

Method Detail

fetchback to summary
private List<BibEntry> fetch(AllCitationFetcher.FetchOperation operation) throws FetcherException
getCitationCountback to summary
public Optional<Integer> getCitationCount(BibEntry entry) throws FetcherException

Implements org.jabref.logic.importer.fetcher.citation.CitationCountFetcher.getCitationCount.

Doc from org.jabref.logic.importer.fetcher.citation.CitationCountFetcher.getCitationCount.

Get the paper details that includes citation count field for a given BibEntry.

Annotations
@Override
getCitationsback to summary
public List<BibEntry> getCitations(BibEntry entry) throws FetcherException

Implements org.jabref.logic.importer.fetcher.citation.CitationFetcher.getCitations.

Doc from org.jabref.logic.importer.fetcher.citation.CitationFetcher.getCitations.

Looks for hits which are citing the given BibEntry.

Annotations
@Override
getNameback to summary
public String getName()

Implements org.jabref.logic.importer.fetcher.citation.CitationFetcher.getName.

Doc from org.jabref.logic.importer.fetcher.citation.CitationFetcher.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.

Annotations
@Override
getReferencesback to summary
public List<BibEntry> getReferences(BibEntry entry) throws FetcherException

Implements org.jabref.logic.importer.fetcher.citation.CitationFetcher.getReferences.

Doc from org.jabref.logic.importer.fetcher.citation.CitationFetcher.getReferences.

Looks for hits which are cited by the given BibEntry. This typically is the "References" (or "Bibliography" or "Literature") section of a paper.

Annotations
@Override
org.jabref.logic.importer.fetcher.citation back to summary

private Interface AllCitationFetcher.FetchOperation

Annotations
@FunctionalInterface

Method Summary

Modifier and TypeMethod and Description
public List<BibEntry>

Method Detail

fetchback to summary
public List<BibEntry> fetch(CitationFetcher fetcher) throws FetcherException