Top Fields Constructors Methods
org.jabref.gui.copyfiles

public Class CopySingleFileAction

extends SimpleCommand
Class Inheritance
Imports
java.nio.file.Path, java.util.Optional, java.util.function.BiFunction, javafx.beans.binding.Bindings, org.jabref.gui.DialogService, org.jabref.gui.actions.SimpleCommand, org.jabref.gui.util.DirectoryDialogConfiguration, org.jabref.logic.l10n.Localization, org.jabref.logic.util.io.FileUtil, org.jabref.model.database.BibDatabaseContext, org.jabref.model.entry.LinkedFile, org.jabref.model.util.OptionalUtil, org.jabref.preferences.FilePreferences

Field Summary

Modifier and TypeField and Description
private final BibDatabaseContext
private final DialogService
private final FilePreferences
private final LinkedFile
private final BiFunction<Path, Path, Path>
Inherited from org.jabref.gui.actions.SimpleCommand:
statusMessage

Constructor Summary

AccessConstructor and Description
public
CopySingleFileAction(LinkedFile linkedFile, DialogService dialogService, BibDatabaseContext databaseContext, FilePreferences filePreferences)

Method Summary

Modifier and TypeMethod and Description
private void
public void
Inherited from org.jabref.gui.actions.SimpleCommand:
getProgressprogressPropertysetExecutablestatusMessageProperty

Field Detail

databaseContextback to summary
private final BibDatabaseContext databaseContext
dialogServiceback to summary
private final DialogService dialogService
filePreferencesback to summary
private final FilePreferences filePreferences
linkedFileback to summary
private final LinkedFile linkedFile
resolvePathFilenameback to summary
private final BiFunction<Path, Path, Path> resolvePathFilename

Constructor Detail

CopySingleFileActionback to summary
public CopySingleFileAction(LinkedFile linkedFile, DialogService dialogService, BibDatabaseContext databaseContext, FilePreferences filePreferences)

Method Detail

copyFileToDestinationback to summary
private void copyFileToDestination(Path exportPath)
executeback to summary
public void execute()
Annotations
@Override