Top Description Fields Constructors Methods
org.jabref.gui.mergeentries

public Class FetchAndMergeEntry

extends Object
Class Inheritance
Imports
java.util.Arrays, .Collections, .Comparator, .List, .Optional, .Set, .TreeSet, javax.swing.undo.UndoManager, org.jabref.gui.DialogService, org.jabref.gui.undo.NamedCompound, .UndoableChangeType, .UndoableFieldChange, org.jabref.gui.util.BackgroundTask, .TaskExecutor, org.jabref.logic.importer.EntryBasedFetcher, .FetcherClientException, .FetcherServerException, .IdBasedFetcher, .ImportCleanup, .WebFetcher, .WebFetchers, org.jabref.logic.l10n.Localization, org.jabref.model.database.BibDatabaseContext, org.jabref.model.entry.BibEntry, org.jabref.model.entry.field.Field, .FieldFactory, .StandardField, org.jabref.model.entry.types.EntryType, org.jabref.preferences.PreferencesService, org.slf4j.Logger, .LoggerFactory

Class for fetching and merging bibliographic information

Field Summary

Modifier and TypeField and Description
private final BibDatabaseContext
private final DialogService
private static final Logger
private final PreferencesService
public static List<Field>
private final TaskExecutor
private final UndoManager

Constructor Summary

AccessConstructor and Description
public
FetchAndMergeEntry(BibDatabaseContext bibDatabaseContext, TaskExecutor taskExecutor, PreferencesService preferences, DialogService dialogService, UndoManager undoManager)

Method Summary

Modifier and TypeMethod and Description
public void
public void
public void
fetchAndMerge(BibEntry entry, List<Field> fields)

public void
private void
showMergeDialog(BibEntry originalEntry, BibEntry fetchedEntry, WebFetcher fetcher)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

bibDatabaseContextback to summary
private final BibDatabaseContext bibDatabaseContext
dialogServiceback to summary
private final DialogService dialogService
LOGGERback to summary
private static final Logger LOGGER
preferencesback to summary
private final PreferencesService preferences
SUPPORTED_FIELDSback to summary
public static List<Field> SUPPORTED_FIELDS
taskExecutorback to summary
private final TaskExecutor taskExecutor
undoManagerback to summary
private final UndoManager undoManager

Constructor Detail

FetchAndMergeEntryback to summary
public FetchAndMergeEntry(BibDatabaseContext bibDatabaseContext, TaskExecutor taskExecutor, PreferencesService preferences, DialogService dialogService, UndoManager undoManager)

Method Detail

fetchAndMergeback to summary
public void fetchAndMerge(BibEntry entry)
fetchAndMergeback to summary
public void fetchAndMerge(BibEntry entry, Field field)
fetchAndMergeback to summary
public void fetchAndMerge(BibEntry entry, List<Field> fields)
fetchAndMergeback to summary
public void fetchAndMerge(BibEntry entry, EntryBasedFetcher fetcher)
showMergeDialogback to summary
private void showMergeDialog(BibEntry originalEntry, BibEntry fetchedEntry, WebFetcher fetcher)