| Modifier and Type | Field and Description |
|---|---|
| private final DialogService | |
| private static final Logger | |
| private final PreferencesService | |
| private final StateManager | |
| private final TaskExecutor | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| public | DownloadFullTextAction(DialogService dialogService, StateManager stateManager, PreferencesService preferences, TaskExecutor taskExecutor)
|
| Modifier and Type | Method and Description |
|---|---|
| private void | addLinkedFileFromURL(BibDatabaseContext
the active database databaseContext, URL the url "key" url, BibEntry the entry "value" entry)This method attaches a linked file from a URL (if not already linked) to an entry using the key and value pair from the findFullTexts map and then downloads the file into the given targetDirectory |
| private void | |
| public void |
| dialogService | back to summary |
|---|---|
| private final DialogService dialogService | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| preferences | back to summary |
|---|---|
| private final PreferencesService preferences | |
| stateManager | back to summary |
|---|---|
| private final StateManager stateManager | |
| taskExecutor | back to summary |
|---|---|
| private final TaskExecutor taskExecutor | |
| WARNING_LIMIT | back to summary |
|---|---|
| private static final int WARNING_LIMIT | |
| DownloadFullTextAction | back to summary |
|---|---|
| public DownloadFullTextAction(DialogService dialogService, StateManager stateManager, PreferencesService preferences, TaskExecutor taskExecutor) | |
| addLinkedFileFromURL | back to summary |
|---|---|
| private void addLinkedFileFromURL(BibDatabaseContext databaseContext, URL url, BibEntry entry) This method attaches a linked file from a URL (if not already linked) to an entry using the key and value pair from the findFullTexts map and then downloads the file into the given targetDirectory
| |
| downloadFullTexts | back to summary |
|---|---|
| private void downloadFullTexts(Map<BibEntry, Optional<URL>> downloads, BibDatabaseContext databaseContext) | |
| execute | back to summary |
|---|---|
public void execute()
| |