Top Fields Constructors Methods
org.jabref.gui.externalfiles

public Class ExternalFilesEntryLinker

extends Object
Class Inheritance
Imports
java.io.IOException, java.nio.file.Files, .Path, java.util.ArrayList, .Collections, .List, .Optional, org.jabref.gui.DialogService, org.jabref.gui.externalfiletype.ExternalFileType, .ExternalFileTypes, .UnknownExternalFileType, org.jabref.logic.cleanup.MoveFilesCleanup, .RenamePdfCleanup, org.jabref.logic.l10n.Localization, org.jabref.logic.pdf.search.IndexingTaskManager, .PdfIndexerManager, org.jabref.logic.util.io.FileNameCleaner, .FileUtil, org.jabref.model.database.BibDatabaseContext, org.jabref.model.entry.BibEntry, .LinkedFile, org.jabref.preferences.FilePreferences, org.slf4j.Logger, .LoggerFactory

Field Summary

Modifier and TypeField and Description
private final BibDatabaseContext
private final DialogService
private final FilePreferences
private static final Logger
private final MoveFilesCleanup
private final RenamePdfCleanup

Constructor Summary

AccessConstructor and Description
public
ExternalFilesEntryLinker(FilePreferences filePreferences, BibDatabaseContext bibDatabaseContext, DialogService dialogService)

Method Summary

Modifier and TypeMethod and Description
public void
public void
public Optional<Path>
private List<Path>
public void
public void
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

bibDatabaseContextback to summary
private final BibDatabaseContext bibDatabaseContext
dialogServiceback to summary
private final DialogService dialogService
filePreferencesback to summary
private final FilePreferences filePreferences
LOGGERback to summary
private static final Logger LOGGER
moveFilesCleanupback to summary
private final MoveFilesCleanup moveFilesCleanup
renameFilesCleanupback to summary
private final RenamePdfCleanup renameFilesCleanup

Constructor Detail

ExternalFilesEntryLinkerback to summary
public ExternalFilesEntryLinker(FilePreferences filePreferences, BibDatabaseContext bibDatabaseContext, DialogService dialogService)

Method Detail

addFilesToEntryback to summary
public void addFilesToEntry(BibEntry entry, List<Path> files)
copyFilesToFileDirAndAddToEntryback to summary
public void copyFilesToFileDirAndAddToEntry(BibEntry entry, List<Path> files, IndexingTaskManager indexingTaskManager)
copyFileToFileDirback to summary
public Optional<Path> copyFileToFileDir(Path file)
getValidFileNamesback to summary
private List<Path> getValidFileNames(List<Path> filesToAdd)
moveFilesToFileDirRenameAndAddToEntryback to summary
public void moveFilesToFileDirRenameAndAddToEntry(BibEntry entry, List<Path> files, IndexingTaskManager indexingTaskManager)
moveLinkedFilesToFileDirback to summary
public void moveLinkedFilesToFileDir(BibEntry entry)
renameLinkedFilesToPatternback to summary
public void renameLinkedFilesToPattern(BibEntry entry)