Verified Owner
Top Fields Constructors Methods
org.jabref.logic.cleanup

public Class RelativePathsCleanup

extends Object
implements CleanupJob
Class Inheritance
All Implemented Interfaces
org.jabref.logic.cleanup.CleanupJob
Imports
java.nio.file.Path, java.util.ArrayList, .List, .Optional, org.jabref.logic.FilePreferences, org.jabref.logic.util.io.FileUtil, org.jabref.model.FieldChange, org.jabref.model.database.BibDatabaseContext, org.jabref.model.entry.BibEntry, .LinkedFile, org.jspecify.annotations.NonNull

Field Summary

Modifier and TypeField and Description
private final BibDatabaseContext
private final FilePreferences

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public List<FieldChange>
cleanup(BibEntry entry)

Implements org.jabref.logic.cleanup.CleanupJob.cleanup.

Cleans up the given entry and returns the list of changes made.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

databaseContextback to summary
private final BibDatabaseContext databaseContext
filePreferencesback to summary
private final FilePreferences filePreferences

Constructor Detail

RelativePathsCleanupback to summary
public RelativePathsCleanup(@NonNull BibDatabaseContext databaseContext, @NonNull FilePreferences filePreferences)

Method Detail

cleanupback to summary
public List<FieldChange> cleanup(BibEntry entry)

Implements org.jabref.logic.cleanup.CleanupJob.cleanup.

Doc from org.jabref.logic.cleanup.CleanupJob.cleanup.

Cleans up the given entry and returns the list of changes made.

Annotations
@Override