Top Constructors Methods
org.jabref.logic.exporter

public Class GroupSerializer

extends Object
Class Inheritance
Imports
java.util.ArrayList, .List, javafx.scene.paint.Color, org.jabref.logic.util.MetadataSerializationConfiguration, org.jabref.logic.util.io.FileUtil, org.jabref.model.groups.AbstractGroup, .AllEntriesGroup, .AutomaticGroup, .AutomaticKeywordGroup, .AutomaticPersonsGroup, .ExplicitGroup, .GroupTreeNode, .KeywordGroup, .RegexKeywordGroup, .SearchGroup, .TexGroup, org.jabref.model.search.rules.SearchRules, org.jabref.model.strings.StringUtil

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private void
private void
private static String
private String
private String
private String
private String
private String
private String
private String
public List<String>

Returns:

a representation of the tree based at this node as a list of strings
serializeTree
(GroupTreeNode node)

Returns a textual representation of this node and its children.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

GroupSerializerback to summary
public GroupSerializer()

Method Detail

appendAutomaticGroupDetailsback to summary
private void appendAutomaticGroupDetails(StringBuilder builder, AutomaticGroup group)
appendGroupDetailsback to summary
private void appendGroupDetails(StringBuilder builder, AbstractGroup group)
serializeAllEntriesGroupback to summary
private static String serializeAllEntriesGroup()
serializeAutomaticKeywordGroupback to summary
private String serializeAutomaticKeywordGroup(AutomaticKeywordGroup group)
serializeAutomaticPersonsGroupback to summary
private String serializeAutomaticPersonsGroup(AutomaticPersonsGroup group)
serializeExplicitGroupback to summary
private String serializeExplicitGroup(ExplicitGroup group)
serializeGroupback to summary
private String serializeGroup(AbstractGroup group)
serializeKeywordGroupback to summary
private String serializeKeywordGroup(KeywordGroup group)
serializeSearchGroupback to summary
private String serializeSearchGroup(SearchGroup group)
serializeTexGroupback to summary
private String serializeTexGroup(TexGroup group)
serializeTreeback to summary
public List<String> serializeTree(GroupTreeNode node)

Returns a textual representation of this node and its children. This representation contains both the tree structure and the textual representations of the group associated with each node. Every node is one entry in the list of strings.

Returns:List<String>

a representation of the tree based at this node as a list of strings