MCPcopy Create free account
hub / github.com/PCGen/pcgen / appendNotesLines

Method appendNotesLines

code/src/java/pcgen/io/PCGVer2Creator.java:1592–1609  ·  view source on GitHub ↗
(StringBuilder buffer)

Source from the content-addressed store, hash-verified

1590 * ###############################################################
1591 */
1592 private void appendNotesLines(StringBuilder buffer)
1593 {
1594 for (NoteItem ni : charDisplay.getNotesList())
1595 {
1596 buffer.append(IOConstants.TAG_NOTE).append(':');
1597 buffer.append(EntityEncoder.encode(ni.getName()));
1598 buffer.append('|');
1599 buffer.append(IOConstants.TAG_ID).append(':');
1600 buffer.append(ni.getId());
1601 buffer.append('|');
1602 buffer.append(IOConstants.TAG_PARENTID).append(':');
1603 buffer.append(ni.getParentId());
1604 buffer.append('|');
1605 buffer.append(IOConstants.TAG_VALUE).append(':');
1606 buffer.append(EntityEncoder.encode(ni.getValue()));
1607 buffer.append(IOConstants.LINE_SEP);
1608 }
1609 }
1610
1611 private void appendPersonalityTrait1Line(StringBuilder buffer)
1612 {

Callers 1

createPCGStringMethod · 0.95

Calls 7

encodeMethod · 0.95
getNotesListMethod · 0.80
getParentIdMethod · 0.80
getNameMethod · 0.65
getIdMethod · 0.65
getValueMethod · 0.65
appendMethod · 0.45

Tested by

no test coverage detected