use of org.jabref.logic.formatter.bibtexfields.ClearFormatter in project jabref by JabRef.
the class MathSciNet method doPostCleanup.
@Override
public void doPostCleanup(BibEntry entry) {
new MoveFieldCleanup("fjournal", FieldName.JOURNAL).cleanup(entry);
new MoveFieldCleanup("mrclass", FieldName.KEYWORDS).cleanup(entry);
new FieldFormatterCleanup("mrreviewer", new ClearFormatter()).cleanup(entry);
new FieldFormatterCleanup(FieldName.URL, new ClearFormatter()).cleanup(entry);
}
use of org.jabref.logic.formatter.bibtexfields.ClearFormatter in project jabref by JabRef.
the class AstrophysicsDataSystem method doPostCleanup.
@Override
public void doPostCleanup(BibEntry entry) {
new FieldFormatterCleanup(FieldName.ABSTRACT, new RemoveBracesFormatter()).cleanup(entry);
new FieldFormatterCleanup(FieldName.TITLE, new RemoveBracesFormatter()).cleanup(entry);
new FieldFormatterCleanup(FieldName.AUTHOR, new NormalizeNamesFormatter()).cleanup(entry);
// Remove ADS note
new FieldFormatterCleanup("adsnote", new ClearFormatter()).cleanup(entry);
// Move adsurl to url field
new MoveFieldCleanup("adsurl", FieldName.URL).cleanup(entry);
}
use of org.jabref.logic.formatter.bibtexfields.ClearFormatter in project jabref by JabRef.
the class DBLPFetcher method doPostCleanup.
@Override
public void doPostCleanup(BibEntry entry) {
DoiCleanup doiCleaner = new DoiCleanup();
FieldFormatterCleanup clearTimestampFormatter = new FieldFormatterCleanup(FieldName.TIMESTAMP, new ClearFormatter());
doiCleaner.cleanup(entry);
clearTimestampFormatter.cleanup(entry);
}
use of org.jabref.logic.formatter.bibtexfields.ClearFormatter in project jabref by JabRef.
the class DoiFetcher method doPostCleanup.
private void doPostCleanup(BibEntry entry) {
new FieldFormatterCleanup(FieldName.PAGES, new NormalizePagesFormatter()).cleanup(entry);
new FieldFormatterCleanup(FieldName.URL, new ClearFormatter()).cleanup(entry);
}
use of org.jabref.logic.formatter.bibtexfields.ClearFormatter in project jabref by JabRef.
the class DoiCleanup method removeFieldValue.
private void removeFieldValue(BibEntry entry, String field, List<FieldChange> changes) {
CleanupJob eraser = new FieldFormatterCleanup(field, new ClearFormatter());
changes.addAll(eraser.cleanup(entry));
}
Aggregations