| Modifier and Type | Field and Description |
|---|---|
| private final Map | |
| private final TreeSet | |
| private final Map | |
| private final Map | |
| pack-priv static final Pattern | |
| private final Map |
| Access | Constructor and Description |
|---|---|
| public | JournalAbbreviationRepository(Path journalList)
Initializes the internal data based on the abbreviations found in the given MV file |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public Optional | |
| public Collection | |
| public Collection | |
| public Optional | |
| public Optional | |
| public Set | |
| public Optional | |
| public Optional | |
| public boolean | isAbbreviatedName(String journalName)
Returns true if the given journal name is in its abbreviated form (e.g. Phys. |
| public boolean | isKnownName(String journalName)
Returns true if the given journal name is contained in the list either in its full form (e.g., Physical Review Letters) or its abbreviated form (e.g., Phys. |
| private static boolean | |
| private static boolean |
| abbreviationToAbbreviationObject | back to summary |
|---|---|
| private final Map<String, Abbreviation> abbreviationToAbbreviationObject | |
| customAbbreviations | back to summary |
|---|---|
| private final TreeSet<Abbreviation> customAbbreviations | |
| dotlessToAbbreviationObject | back to summary |
|---|---|
| private final Map<String, Abbreviation> dotlessToAbbreviationObject | |
| fullToAbbreviationObject | back to summary |
|---|---|
| private final Map<String, Abbreviation> fullToAbbreviationObject | |
| QUESTION_MARK | back to summary |
|---|---|
| pack-priv static final Pattern QUESTION_MARK | |
| shortestUniqueToAbbreviationObject | back to summary |
|---|---|
| private final Map<String, Abbreviation> shortestUniqueToAbbreviationObject | |
| JournalAbbreviationRepository | back to summary |
|---|---|
| public JournalAbbreviationRepository(Path journalList) Initializes the internal data based on the abbreviations found in the given MV file | |
| JournalAbbreviationRepository | back to summary |
|---|---|
| public JournalAbbreviationRepository() Initializes the repository with demonstration data. Used if no abbreviation file is found. | |
| addCustomAbbreviation | back to summary |
|---|---|
| public void addCustomAbbreviation(Abbreviation abbreviation) | |
| addCustomAbbreviations | back to summary |
|---|---|
| public void addCustomAbbreviations(Collection<Abbreviation> abbreviationsToAdd) | |
| get | back to summary |
|---|---|
| public Optional Attempts to get the abbreviation of the journal given.
| |
| getAllLoaded | back to summary |
|---|---|
| public Collection | |
| getCustomAbbreviations | back to summary |
|---|---|
| public Collection | |
| getDefaultAbbreviation | back to summary |
|---|---|
| public Optional | |
| getDotless | back to summary |
|---|---|
| public Optional | |
| getFullNames | back to summary |
|---|---|
| public Set | |
| getNextAbbreviation | back to summary |
|---|---|
| public Optional | |
| getShortestUniqueAbbreviation | back to summary |
|---|---|
| public Optional | |
| isAbbreviatedName | back to summary |
|---|---|
| public boolean isAbbreviatedName(String journalName) Returns true if the given journal name is in its abbreviated form (e.g. Phys. Rev. Lett.). The test is strict, i.e., journals whose abbreviation is the same as the full name are not considered | |
| isKnownName | back to summary |
|---|---|
| public boolean isKnownName(String journalName) Returns true if the given journal name is contained in the list either in its full form (e.g., Physical Review Letters) or its abbreviated form (e.g., Phys. Rev. Lett.). | |
| isMatched | back to summary |
|---|---|
| private static boolean isMatched(String name, Abbreviation abbreviation) | |
| isMatchedAbbreviated | back to summary |
|---|---|
| private static boolean isMatchedAbbreviated(String name, Abbreviation abbreviation) | |