Verified Owner
Top Fields Constructors Methods
org.jabref.logic.relatedwork

public Class RelatedWorkReferenceResolver

extends Object
Class Inheritance
Annotations
@NullMarked
Imports
java.io.IOException, java.nio.file.Path, java.util.HashMap, .List, .Map, .Optional, org.jabref.logic.FilePreferences, org.jabref.logic.importer.ParserResult, org.jabref.logic.importer.fileformat.pdf.RuleBasedBibliographyPdfImporter, org.jabref.model.database.BibDatabaseContext, org.jabref.model.entry.BibEntry, .LinkedFile, org.apache.pdfbox.Loader, org.apache.pdfbox.pdmodel.PDDocument, org.jspecify.annotations.NullMarked

Field Summary

Modifier and TypeField and Description
private final RuleBasedBibliographyPdfImporter

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Map<String, BibEntry>

Returns:

Map from citation key to the corresponding reference entries
parseReferences
(LinkedFile
The attached PDF file of the selected bib entry
linkedFile
,
BibDatabaseContext databaseContext, FilePreferences filePreferences)

Parse references from the given PDF file

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

bibliographyPdfImporterback to summary
private final RuleBasedBibliographyPdfImporter bibliographyPdfImporter

Constructor Detail

RelatedWorkReferenceResolverback to summary
public RelatedWorkReferenceResolver()

Method Detail

parseReferencesback to summary
public Map<String, BibEntry> parseReferences(LinkedFile linkedFile, BibDatabaseContext databaseContext, FilePreferences filePreferences) throws IOException

Parse references from the given PDF file

Parameters
linkedFile:LinkedFile

The attached PDF file of the selected bib entry

Returns:Map<String, BibEntry>

Map from citation key to the corresponding reference entries