Verified Owner
Top Methods
org.jabref.logic.importer

public Interface ParserFetcher

Known Direct Subinterfaces
org.jabref.logic.importer.SearchBasedParserFetcher, org.jabref.logic.importer.EntryBasedParserFetcher, org.jabref.logic.importer.IdBasedParserFetcher, org.jabref.logic.importer.IdParserFetcher, org.jabref.logic.importer.PagedSearchBasedParserFetcher
Imports
org.jabref.model.entry.BibEntry

Method Summary

Modifier and TypeMethod and Description
public default void
doPostCleanup(BibEntry
the entry to be cleaned-up
entry
)

Performs a cleanup of the fetched entry.

Method Detail

doPostCleanupback to summary
public default void doPostCleanup(BibEntry entry)

Performs a cleanup of the fetched entry.

Only systematic errors of the fetcher should be corrected here (i.e. if information is consistently contained in the wrong field or the wrong format) but not cosmetic issues which may depend on the user's taste (for example, LateX code vs HTML in the abstract).

Try to reuse existing org.jabref.logic.formatter.Formatter for the cleanup. For example, new FieldFormatterCleanup(StandardField.TITLE, new RemoveBracesFormatter()).cleanup(entry);

By default, no cleanup is done.

Parameters
entry:BibEntry

the entry to be cleaned-up