A field that already uses the separator is returned unchanged, including its spacing, so applying this formatter to a consistent library never produces a diff.
| Modifier and Type | Field and Description |
|---|---|
| private final @Nullable BibEntryPreferences | |
| private final @Nullable Character |
| Access | Constructor and Description |
|---|---|
| public | NormalizeKeywordDelimitersFormatter()
Unbound: preferences and separator are resolved from the global preferences when formatting. |
| public | NormalizeKeywordDelimitersFormatter(@Nullable BibEntryPreferences bibEntryPreferences, @Nullable Character
the separator to serialize with; keywordSeparator)null uses the one from the preferences
|
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| private BibEntryPreferences | |
| public String | getDescription()
Implements abstract org. Returns a description of the formatter. |
| public String | getExampleInput()
Implements abstract org. Returns an example input string of the formatter. |
| public String | getKey()
Implements abstract org. Returns a unique key for the formatter that can be used for its identification |
| public String | getName()
Implements abstract org. Returns a human readable name of the formatter usable for e.g. in the GUI |
| public Formatter | withKeywordSeparator(Character keywordSeparator)
Implements org.
|
| bibEntryPreferences | back to summary |
|---|---|
| private final @Nullable BibEntryPreferences bibEntryPreferences | |
| keywordSeparator | back to summary |
|---|---|
| private final @Nullable Character keywordSeparator | |
| NormalizeKeywordDelimitersFormatter | back to summary |
|---|---|
| public NormalizeKeywordDelimitersFormatter() Unbound: preferences and separator are resolved from the global preferences when formatting. | |
| NormalizeKeywordDelimitersFormatter | back to summary |
|---|---|
| public NormalizeKeywordDelimitersFormatter(@Nullable BibEntryPreferences bibEntryPreferences, @Nullable Character keywordSeparator) | |
| format | back to summary |
|---|---|
public String format(@NonNull String value)
| |
| getBibEntryPreferences | back to summary |
|---|---|
| private BibEntryPreferences getBibEntryPreferences() | |
| getDescription | back to summary |
|---|---|
| public String getDescription() Implements abstract org. Doc from org. Returns a description of the formatter.
| |
| getExampleInput | back to summary |
|---|---|
| public String getExampleInput() Implements abstract org. Doc from org. Returns an example input string of the formatter. This example is used as input to the formatter to demonstrate its functionality
| |
| getKey | back to summary |
|---|---|
| public String getKey() Implements abstract org. Doc from org. Returns a unique key for the formatter that can be used for its identification
| |
| getName | back to summary |
|---|---|
| public String getName() Implements abstract org. Doc from org. Returns a human readable name of the formatter usable for e.g. in the GUI
| |
| withKeywordSeparator | back to summary |
|---|---|
| public Formatter withKeywordSeparator(Character keywordSeparator) Implements org.
| |