Top Fields Constructors Methods
org.jabref.logic.exporter

public Class ExporterFactory

extends Object
Class Inheritance
Imports
java.util.ArrayList, .Collections, .List, .Objects, .Optional, org.jabref.logic.bibtex.FieldPreferences, org.jabref.logic.l10n.Localization, org.jabref.logic.layout.LayoutFormatterPreferences, org.jabref.logic.util.StandardFileType, org.jabref.logic.xmp.XmpPreferences, org.jabref.model.database.BibDatabaseMode, org.jabref.model.entry.BibEntryTypesManager, org.jabref.model.metadata.SelfContainedSaveOrder, org.jabref.preferences.PreferencesService

Field Summary

Modifier and TypeField and Description
private final List<Exporter>

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static ExporterFactory
create(PreferencesService preferencesService, BibEntryTypesManager entryTypesManager)

public Optional<Exporter>

Returns:

The exporter, or an empty option if no exporter with that name is registered.
getExporterByName
(String
The export name given in the JabRef console help information.
consoleName
)

Look up the named exporter (case-insensitive).

public List<Exporter>

Returns:

A list containing all exporters
getExporters
()

Get a list of all exporters.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

exportersback to summary
private final List<Exporter> exporters

Constructor Detail

ExporterFactoryback to summary
private ExporterFactory(List<Exporter> exporters)

Method Detail

createback to summary
public static ExporterFactory create(PreferencesService preferencesService, BibEntryTypesManager entryTypesManager)
getExporterByNameback to summary
public Optional<Exporter> getExporterByName(String consoleName)

Look up the named exporter (case-insensitive).

Parameters
consoleName:String

The export name given in the JabRef console help information.

Returns:Optional<Exporter>

The exporter, or an empty option if no exporter with that name is registered.

getExportersback to summary
public List<Exporter> getExporters()

Get a list of all exporters.

Returns:List<Exporter>

A list containing all exporters