The given input text is abbreviated according to the journal abbreviation lists. If no abbreviation for input is found (e.g. not in list or already abbreviated), the input will be returned unmodified.
Usage: \formatJournalAbbreviator{\journal} Example result: "Phys. Rev. Lett." instead of "Physical Review Letters"
| Modifier and Type | Field and Description |
|---|---|
| private final JournalAbbreviationRepository |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | format(String fieldText)
Implements org. Failure Mode: Formatters should be robust in the sense that they always return some relevant string. |
| repository | back to summary |
|---|---|
| private final JournalAbbreviationRepository repository | |
| JournalAbbreviator | back to summary |
|---|---|
| public JournalAbbreviator(@NonNull JournalAbbreviationRepository repository) | |
| format | back to summary |
|---|---|
| public String format(String fieldText) 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.
| |