| Modifier and Type | Field and Description |
|---|---|
| private final ExternalApplicationsPreferences | |
| private static final Integer | |
| private static final String | |
| private static final String | |
| private static final Logger | |
| private static final CustomExternalFileType | |
| private static final String | |
| private static final Pattern |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | |
| private void | |
| public void | |
| private Optional | |
| private void | |
| public Optional | |
| private static String | |
| private static Optional | |
| private Optional |
| externalApplicationsPreferences | back to summary |
|---|---|
| private final ExternalApplicationsPreferences externalApplicationsPreferences | |
| IMAGE_DOWNLOAD_COOLDOWN_HOURS | back to summary |
|---|---|
| private static final Integer IMAGE_DOWNLOAD_COOLDOWN_HOURS | |
| IMAGE_FALLBACK_SUFFIX | back to summary |
|---|---|
| private static final String IMAGE_FALLBACK_SUFFIX | |
| IMAGE_FALLBACK_URL | back to summary |
|---|---|
| private static final String IMAGE_FALLBACK_URL | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| NOT_AVAILABLE_FILE_TYPE | back to summary |
|---|---|
| private static final CustomExternalFileType NOT_AVAILABLE_FILE_TYPE | |
| URL_FETCHER_URL | back to summary |
|---|---|
| private static final String URL_FETCHER_URL | |
| URL_JSON_PATTERN | back to summary |
|---|---|
| private static final Pattern URL_JSON_PATTERN | |
| BookCoverFetcher | back to summary |
|---|---|
| public BookCoverFetcher(ExternalApplicationsPreferences externalApplicationsPreferences) | |
| deleteNotAvailableFileIfExists | back to summary |
|---|---|
| private void deleteNotAvailableFileIfExists(final String name, final Path directory) | |
| downloadCoverForISBN | back to summary |
|---|---|
| private void downloadCoverForISBN(ISBN isbn, Path directory) | |
| downloadCoverImage | back to summary |
|---|---|
| private void downloadCoverImage(String url, final String name, final Path directory) | |
| downloadCoversForEntry | back to summary |
|---|---|
| public void downloadCoversForEntry(BibEntry entry) | |
| findExistingImage | back to summary |
|---|---|
| private Optional | |
| flagAsNotAvailable | back to summary |
|---|---|
| private void flagAsNotAvailable(final String name, final Path directory) | |
| getDownloadedCoverForEntry | back to summary |
|---|---|
| public Optional | |
| getImageUrl | back to summary |
|---|---|
| private static String getImageUrl(ISBN isbn) | |
| resolveNameWithType | back to summary |
|---|---|
| private static Optional | |
| timeSincePreviousAttempt | back to summary |
|---|---|
| private Optional | |