readAbbreviationsFromCsvFile(Path)).
It can also create an JournalAbbreviationRepository based on an MV file (loadRepository(AbbreviationPreferences)).
Abbreviations are available at https://github.com/JabRef/abbrv.jabref.org/.
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static JournalAbbreviationRepository | |
| public static JournalAbbreviationRepository | |
| private static LtwaRepository | |
| public static JournalAbbreviationRepository | |
| public static JournalAbbreviationRepository | loadRepositoryInBackground(AbbreviationPreferences abbreviationPreferences, TaskExecutor taskExecutor)
|
| private static JournalAbbreviationRepository | |
| public static Collection |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| JournalAbbreviationLoader | back to summary |
|---|---|
| public JournalAbbreviationLoader() | |
| getFallbackRepository | back to summary |
|---|---|
| private static JournalAbbreviationRepository getFallbackRepository() | |
| loadBuiltInRepository | back to summary |
|---|---|
| public static JournalAbbreviationRepository loadBuiltInRepository() | |
| loadLtwaRepository | back to summary |
|---|---|
| private static LtwaRepository loadLtwaRepository() throws IOException | |
| loadRepository | back to summary |
|---|---|
| public static JournalAbbreviationRepository loadRepository(AbbreviationPreferences abbreviationPreferences) | |
| loadRepositoryInBackground | back to summary |
|---|---|
| public static JournalAbbreviationRepository loadRepositoryInBackground(AbbreviationPreferences abbreviationPreferences, TaskExecutor taskExecutor) | |
| loadRepositorySynchronously | back to summary |
|---|---|
| private static JournalAbbreviationRepository loadRepositorySynchronously(AbbreviationPreferences abbreviationPreferences) | |
| readAbbreviationsFromCsvFile | back to summary |
|---|---|
| public static Collection | |
| Modifier and Type | Field and Description |
|---|---|
| private final AbbreviationPreferences | |
| private final AtomicReference | |
| private final AtomicBoolean | |
| private final AtomicBoolean | |
| private final Set | |
| private final TaskExecutor |
| Access | Constructor and Description |
|---|---|
| private | AsyncJournalAbbreviationRepository(AbbreviationPreferences abbreviationPreferences, TaskExecutor taskExecutor)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | addCustomAbbreviations(Collection<Abbreviation> abbreviationsToAdd)
Overrides org.
|
| private void | |
| public Optional | get(String input)
Overrides org. Attempts to get the abbreviation of the journal given. |
| public Collection | |
| public Collection | |
| public Optional | |
| public Optional | |
| public Set | |
| public Optional | getLtwaAbbreviation(String journalName)
Overrides org. Get the LTWA abbreviation for the given journal name. |
| public Optional | |
| public Optional | |
| public boolean | isAbbreviatedName(String journalName)
Overrides org. Returns true if the given journal name is in its abbreviated form (e.g. Phys. |
| public boolean | isKnownName(String journalName)
Overrides org. 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 Optional | |
| private void | |
| private void |
| abbreviationPreferences | back to summary |
|---|---|
| private final AbbreviationPreferences abbreviationPreferences | |
| currentRepository | back to summary |
|---|---|
| private final AtomicReference<JournalAbbreviationRepository> currentRepository | |
| loaded | back to summary |
|---|---|
| private final AtomicBoolean loaded | |
| loadingStarted | back to summary |
|---|---|
| private final AtomicBoolean loadingStarted | |
| pendingCustomAbbreviations | back to summary |
|---|---|
| private final Set<Abbreviation> pendingCustomAbbreviations | |
| taskExecutor | back to summary |
|---|---|
| private final TaskExecutor taskExecutor | |
| AsyncJournalAbbreviationRepository | back to summary |
|---|---|
| private AsyncJournalAbbreviationRepository(AbbreviationPreferences abbreviationPreferences, TaskExecutor taskExecutor) | |
| addCustomAbbreviation | back to summary |
|---|---|
public void addCustomAbbreviation(@NonNull Abbreviation abbreviation)
| |
| addCustomAbbreviations | back to summary |
|---|---|
| public void addCustomAbbreviations(Collection<Abbreviation> abbreviationsToAdd) Overrides org.
| |
| ensureLoadingStarted | back to summary |
|---|---|
| private void ensureLoadingStarted() | |
| get | back to summary |
|---|---|
| public Optional Overrides org. Doc from org. Attempts to get the abbreviation of the journal given. if no exact match is found, attempts a fuzzy match on full journal names.
| |
| getAllLoaded | back to summary |
|---|---|
| public Collection Overrides org.
| |
| getCustomAbbreviations | back to summary |
|---|---|
| public Collection Overrides org.
| |
| getDefaultAbbreviation | back to summary |
|---|---|
| public Optional Overrides org.
| |
| getDotless | back to summary |
|---|---|
| public Optional Overrides org.
| |
| getFullNames | back to summary |
|---|---|
| public Set Overrides org.
| |
| getLtwaAbbreviation | back to summary |
|---|---|
| public Optional Overrides org. Doc from org. Get the LTWA abbreviation for the given journal name.
| |
| getNextAbbreviation | back to summary |
|---|---|
| public Optional Overrides org.
| |
| getShortestUniqueAbbreviation | back to summary |
|---|---|
| public Optional Overrides org.
| |
| isAbbreviatedName | back to summary |
|---|---|
| public boolean isAbbreviatedName(String journalName) Overrides org. Doc from org. 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) Overrides org. Doc from org. 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.). If the exact match is not found, attempts a fuzzy match to recognize minor input errors.
| |
| loadedDelegate | back to summary |
|---|---|
| private Optional | |
| setFallbackRepository | back to summary |
|---|---|
| private void setFallbackRepository() | |
| setLoadedRepository | back to summary |
|---|---|
| private void setLoadedRepository(JournalAbbreviationRepository repository) | |