Top Fields Constructors Methods
org.jabref.logic.exporter

public Class CffExporter

extends Exporter
Class Inheritance
Imports
java.io.FileWriter, .IOException, java.nio.charset.StandardCharsets, java.nio.file.Path, java.util.ArrayList, .HashMap, .LinkedHashMap, .List, .Map, .Objects, .Optional, org.jabref.logic.util.StandardFileType, org.jabref.model.database.BibDatabaseContext, org.jabref.model.entry.Author, .AuthorList, .BibEntry, .Date, org.jabref.model.entry.field.BiblatexSoftwareField, .Field, .StandardField, .UnknownField, org.jabref.model.entry.types.EntryType, .StandardEntryType, org.yaml.snakeyaml.DumperOptions, .Yaml

Field Summary

Modifier and TypeField and Description
public static final Map<Field, String>
public static final Map<EntryType, String>
public static final List<String>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
export(BibDatabaseContext
the database to export from
databaseContext
,
Path
the file to write to
file
,
List<BibEntry>
a list containing all entries that should be exported
entries
)

Implements abstract org.jabref.logic.exporter.Exporter.export.

Performs the export.

private void
private void
private Map<String, Object>
transformEntry(BibEntry entry, boolean main, boolean dummy)

Inherited from org.jabref.logic.exporter.Exporter:
exportexportToAllFilesOfEntryexportToFileByPathgetFileTypegetIdgetNametoString

Field Detail

FIELDS_MAPback to summary
public static final Map<Field, String> FIELDS_MAP
TYPES_MAPback to summary
public static final Map<EntryType, String> TYPES_MAP
UNMAPPED_FIELDSback to summary
public static final List<String> UNMAPPED_FIELDS

Constructor Detail

CffExporterback to summary
public CffExporter()

Method Detail

exportback to summary
public void export(BibDatabaseContext databaseContext, Path file, List<BibEntry> entries) throws Exception

Implements abstract org.jabref.logic.exporter.Exporter.export.

Doc from org.jabref.logic.exporter.Exporter.export.

Performs the export.

Parameters
databaseContext:BibDatabaseContext

the database to export from

file:Path

the file to write to

entries:List<BibEntry>

a list containing all entries that should be exported

Annotations
@Override
parseAuthorsback to summary
private void parseAuthors(Map<String, Object> data, List<Author> authors)
parseDateback to summary
private void parseDate(Map<String, Object> data, String date)
transformEntryback to summary
private Map<String, Object> transformEntry(BibEntry entry, boolean main, boolean dummy)