| Modifier and Type | Field and Description |
|---|---|
| private final @Nullable JabRefCliPreferences | |
| private final @Nullable Character |
| Access | Constructor and Description |
|---|---|
| public | |
| pack-priv | |
| private | ConvertMSCCodesFormatter(@Nullable JabRefCliPreferences cliPreferences, @Nullable Character keywordSeparator)
|
| Modifier and Type | Method and Description |
|---|---|
| public @NonNull String | format(@NonNull String text)
Implements org. Failure Mode: Formatters should be robust in the sense that they always return some relevant string. |
| private JabRefCliPreferences | |
| 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 static void | |
| public Formatter | withKeywordSeparator(@NonNull Character keywordSeparator)
Implements org.
|
| cliPreferences | back to summary |
|---|---|
| private final @Nullable JabRefCliPreferences cliPreferences | |
| keywordSeparator | back to summary |
|---|---|
| private final @Nullable Character keywordSeparator | |
| ConvertMSCCodesFormatter | back to summary |
|---|---|
| public ConvertMSCCodesFormatter() | |
| ConvertMSCCodesFormatter | back to summary |
|---|---|
| pack-priv ConvertMSCCodesFormatter(@Nullable JabRefCliPreferences cliPreferences) | |
| ConvertMSCCodesFormatter | back to summary |
|---|---|
| private ConvertMSCCodesFormatter(@Nullable JabRefCliPreferences cliPreferences, @Nullable Character keywordSeparator) | |
| format | back to summary |
|---|---|
| public @NonNull String format(@NonNull String text) Implements org. Doc from org. Failure Mode: Formatters should be robust in the sense that they always return some relevant string. If the formatter can detect an invalid input it should return the original string otherwise it may simply return a wrong output.
| |
| getCliPreferences | back to summary |
|---|---|
| private JabRefCliPreferences getCliPreferences() | |
| 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
| |
| setMscCodes | back to summary |
|---|---|
public static void setMscCodes(MscCodeRepository repository)
| |
| withKeywordSeparator | back to summary |
|---|---|
| public Formatter withKeywordSeparator(@NonNull Character keywordSeparator) Implements org.
| |