Verified Owner
Top Constructors Methods
org.jabref.toolkit.service

public Class ImportService

extends Object
Class Inheritance
Annotations
@NullMarked
Imports
java.nio.file.Path, java.util.List, javafx.util.Pair, org.jabref.logic.importer.ImportException, .ImportFormatReader, .ParserResult, org.jabref.logic.l10n.Localization, org.jabref.logic.preferences.CliPreferences, org.jabref.model.util.DummyFileUpdateMonitor, org.jabref.toolkit.exception.ImportServiceException, org.jspecify.annotations.NullMarked, picocli.CommandLine

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static List<Pair<String, String>>
public static ParserResult
importBibTexFile(Path inputFile, CliPreferences cliPreferences, boolean porcelain)

public static ParserResult
importFile(Path inputFile, String importFormat, CliPreferences cliPreferences, boolean porcelain)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ImportServiceback to summary
public ImportService()

Method Detail

getAvailableImportFormatsback to summary
public static List<Pair<String, String>> getAvailableImportFormats(CliPreferences preferences)
importBibTexFileback to summary
public static ParserResult importBibTexFile(Path inputFile, CliPreferences cliPreferences, boolean porcelain) throws ImportServiceException
importFileback to summary
public static ParserResult importFile(Path inputFile, String importFormat, CliPreferences cliPreferences, boolean porcelain) throws ImportServiceException