Verified Owner
Top Fields Constructors Methods
org.jabref.logic.git.io

public Class GitFileWriter

extends Object
Class Inheritance
Imports
java.io.IOException, java.nio.charset.Charset, .StandardCharsets, java.nio.file.Path, java.util.concurrent.ConcurrentHashMap, org.jabref.logic.exporter.AtomicFileWriter, .BibDatabaseWriter, .BibWriter, .SelfContainedSaveConfiguration, org.jabref.logic.importer.ImportFormatPreferences, org.jabref.model.database.BibDatabaseContext, org.jabref.model.entry.BibEntryTypesManager

Field Summary

Modifier and TypeField and Description
private static final ConcurrentHashMap<Path, Object>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static void
write(Path file, BibDatabaseContext bibDatabaseContext, ImportFormatPreferences importPrefs)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

FILE_LOCKSback to summary
private static final ConcurrentHashMap<Path, Object> FILE_LOCKS

Constructor Detail

GitFileWriterback to summary
public GitFileWriter()

Method Detail

writeback to summary
public static void write(Path file, BibDatabaseContext bibDatabaseContext, ImportFormatPreferences importPrefs) throws IOException

Implementation Note

this should be in sync with org.jabref.gui.exporter.SaveDatabaseAction#saveDatabase