Verified Owner
Top Description Fields Constructors Methods
org.jabref.logic.importer

public abstract Class ImportCleanup

extends Object
Class Inheritance
Known Direct Subclasses
org.jabref.logic.importer.ImportCleanupBiblatex, org.jabref.logic.importer.ImportCleanupBibtex
Imports
java.util.Collection, org.jabref.logic.bibtex.FieldPreferences, org.jabref.logic.cleanup.NormalizeWhitespacesCleanup, org.jabref.model.database.BibDatabaseMode, org.jabref.model.entry.BibEntry, org.jspecify.annotations.NonNull

Cleanup of imported entries to be processable by JabRef

Field Summary

Modifier and TypeField and Description
private final NormalizeWhitespacesCleanup

Constructor Summary

AccessConstructor and Description
protected
ImportCleanup(FieldPreferences fieldPreferences)

Method Summary

Modifier and TypeMethod and Description
public BibEntry
public void
doPostCleanup(Collection<BibEntry> entries)

Performs a format conversion of the given entry collection into the targeted format.

public static ImportCleanup
targeting(BibDatabaseMode mode, @NonNull FieldPreferences fieldPreferences)

Kind of builder for a cleanup

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

normalizeWhitespacesCleanupback to summary
private final NormalizeWhitespacesCleanup normalizeWhitespacesCleanup

Constructor Detail

ImportCleanupback to summary
protected ImportCleanup(FieldPreferences fieldPreferences)

Method Detail

doPostCleanupback to summary
public BibEntry doPostCleanup(BibEntry entry)

Implementation Note

Related method: ParserFetcher#doPostCleanup(BibEntry)

doPostCleanupback to summary
public void doPostCleanup(Collection<BibEntry> entries)

Performs a format conversion of the given entry collection into the targeted format.

targetingback to summary
public static ImportCleanup targeting(BibDatabaseMode mode, @NonNull FieldPreferences fieldPreferences)

Kind of builder for a cleanup