Verified Owner
Top Constructors Methods
org.jabref.logic.groups

public Class GroupsHelper

extends Object
Class Inheritance
Annotations
@NullMarked
Imports
java.util.List, .Optional, org.jabref.model.database.BibDatabaseContext, org.jabref.model.entry.BibEntry, org.jabref.model.groups.ExplicitGroup, .GroupHierarchyType, .GroupTreeNode, org.jspecify.annotations.NullMarked

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static void
assignEntriesToGroup(BibDatabaseContext databaseContext, List<BibEntry> entries, String groupName, Character
separator used when the group is created as a keyword-backed explicit group
keywordSeparator
)

Assigns entries to the explicit group named groupName in databaseContext, creating the group as a top-level explicit group (and the group-tree root) if it does not exist yet.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

GroupsHelperback to summary
private GroupsHelper()

Method Detail

assignEntriesToGroupback to summary
public static void assignEntriesToGroup(BibDatabaseContext databaseContext, List<BibEntry> entries, String groupName, Character keywordSeparator)

Assigns entries to the explicit group named groupName in databaseContext, creating the group as a top-level explicit group (and the group-tree root) if it does not exist yet.

Parameters
keywordSeparator:Character

separator used when the group is created as a keyword-backed explicit group