Verified Owner
Top Constructors Methods
org.jabref.model.database

public Class BibDatabases

extends Object
Class Inheritance
Imports
java.util.Collection, .List, java.util.stream.Collectors, org.jabref.model.entry.BibEntry

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static List<BibEntry>
purgeEmptyEntries(Collection<BibEntry> entries)

Receives a Collection of BibEntry instances, iterates through them, and removes all entries that have no fields set.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

BibDatabasesback to summary
private BibDatabases()

Method Detail

purgeEmptyEntriesback to summary
public static List<BibEntry> purgeEmptyEntries(Collection<BibEntry> entries)

Receives a Collection of BibEntry instances, iterates through them, and removes all entries that have no fields set. This is useful for rooting out an unsuccessful import (wrong format) that returns a number of empty entries.