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

Method getExportString

code/src/java/pcgen/core/NoteItem.java:68–73  ·  view source on GitHub ↗

This is used to export to character sheets e.g. getExportString(" "," ," ,"") would return the name in bold and the value on the next line in html format. @param beforeName The markup to be included before the name. @param afterName The markup to be included after the name. @param beforeVa

(final String beforeName, final String afterName, final String beforeValue,
		final String afterValue)

Source from the content-addressed store, hash-verified

66 * @return The export string including markup, the name of the note and the note contents.
67 */
68 public String getExportString(final String beforeName, final String afterName, final String beforeValue,
69 final String afterValue)
70 {
71 return beforeName + FileAccess.filterString(name) + afterName + beforeValue + FileAccess.filterString(value)
72 + afterValue;
73 }
74
75 public int getId()
76 {

Callers 1

getTokenMethod · 0.80

Calls 1

filterStringMethod · 0.95

Tested by

no test coverage detected