Verified Owner
Top Fields Constructors Methods
org.jabref.gui.copyfiles

public Class CopyLinkedFilesAction

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

Field Summary

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

Constructor Summary

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

public
CopyLinkedFilesAction(Collection<LinkedFile> linkedFiles, DialogService dialogService, BibDatabaseContext databaseContext, FilePreferences filePreferences)

Method Summary

Modifier and TypeMethod and Description
private static Observable[]
public void
private boolean
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
linkedFilesback to summary
private final List<LinkedFile> linkedFiles
resolvePathFilenameback to summary
private final BiFunction<Path, Path, Path> resolvePathFilename

Constructor Detail

CopyLinkedFilesActionback to summary
public CopyLinkedFilesAction(LinkedFile linkedFile, DialogService dialogService, BibDatabaseContext databaseContext, FilePreferences filePreferences)
CopyLinkedFilesActionback to summary
public CopyLinkedFilesAction(Collection<LinkedFile> linkedFiles, DialogService dialogService, BibDatabaseContext databaseContext, FilePreferences filePreferences)

Method Detail

dependenciesback to summary
private static Observable[] dependencies(Collection<LinkedFile> files)
executeback to summary
public void execute()
Annotations
@Override
isLocalExistingback to summary
private boolean isLocalExisting(LinkedFile lf)