Verified Owner
Top Description Fields Constructors Methods
org.jabref.cli

public Class CliImportHelper

extends Object
Class Inheritance
Annotations
@Deprecated
Imports
java.net.MalformedURLException, java.nio.file.Path, java.util.Optional, org.jabref.logic.importer.FetcherException, .ImportException, .ImportFormatReader, .ParserResult, org.jabref.logic.l10n.Localization, org.jabref.logic.net.URLDownload, org.jabref.logic.os.OS, org.jabref.logic.preferences.CliPreferences, org.jabref.model.util.DummyFileUpdateMonitor, org.slf4j.Logger, .LoggerFactory

Deprecated

used by the browser extension only

CLI import helper that are needed for importing stuff from the browser extension

Field Summary

Modifier and TypeField and Description
private static final Logger

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static Optional<ParserResult>
importFile(String
URL or file path to import
location
,
CliPreferences cliPreferences, boolean porcelain)

Reads URIs as input

public static Optional<ParserResult>
importFile(Path file, CliPreferences cliPreferences, boolean porcelain)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

LOGGERback to summary
private static final Logger LOGGER

Constructor Detail

CliImportHelperback to summary
public CliImportHelper()

Method Detail

importFileback to summary
public static Optional<ParserResult> importFile(String location, CliPreferences cliPreferences, boolean porcelain)

Reads URIs as input

Parameters
location:String

URL or file path to import

importFileback to summary
public static Optional<ParserResult> importFile(Path file, CliPreferences cliPreferences, boolean porcelain)