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

public Class XmpMetadataCleanup

extends Object
implements CleanupJob
Class Inheritance
All Implemented Interfaces
org.jabref.logic.cleanup.CleanupJob
Imports
java.io.IOException, java.nio.file.Path, java.util.ArrayList, .List, .Optional, java.util.concurrent.atomic.AtomicBoolean, javax.xml.transform.TransformerException, org.jabref.logic.FilePreferences, .JabRefException, org.jabref.logic.l10n.Localization, org.jabref.logic.xmp.XmpUtilShared, .XmpUtilWriter, org.jabref.model.FieldChange, org.jabref.model.database.BibDatabaseContext, org.jabref.model.entry.BibEntry, .LinkedFile, org.jabref.model.entry.field.StandardField, org.slf4j.Logger, .LoggerFactory

Field Summary

Modifier and TypeField and Description
private final BibDatabaseContext
private final List<JabRefException>
private final FilePreferences
private static final Logger

Constructor Summary

AccessConstructor and Description
public
XmpMetadataCleanup(BibDatabaseContext databaseContext, FilePreferences filePreferences)

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.

public List<JabRefException>
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

databaseContextback to summary
private final BibDatabaseContext databaseContext
failuresback to summary
private final List<JabRefException> failures
filePreferencesback to summary
private final FilePreferences filePreferences
LOGGERback to summary
private static final Logger LOGGER

Constructor Detail

XmpMetadataCleanupback to summary
public XmpMetadataCleanup(BibDatabaseContext databaseContext, 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
getFailuresback to summary
public List<JabRefException> getFailures()