| Modifier and Type | Field and Description |
|---|---|
| private static final Logger | |
| private static final NativeDesktop | |
| private static final Pattern |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static void | |
| public static Path | |
| public static Path | |
| public static void | |
| public static boolean | |
| public static void | openBrowser(String
the URL to open url, FilePreferences filePreferences)Opens the given URL using the system browser |
| public static void | |
| public static void | openBrowserShowPopup(String
the URL to open url, DialogService dialogService, FilePreferences filePreferences)Opens the url with the users standard Browser. |
| public static void | openConsole(Path
Location the console should be opened at. file, PreferencesService preferencesService, DialogService dialogService)Opens a new console starting on the given file location |
| public static void | |
| private static void | |
| public static boolean | Returns: false if the link couldn't be resolved, true otherwise.The database this file belongs to. databaseContext, FilePreferences filePreferences, String The filename. link, final Optional<ExternalFileType> type)Open an external file, attempting to use the correct viewer for it. |
| private static void | openExternalFilePlatformIndependent(Optional<ExternalFileType> fileType, String filePath, FilePreferences filePreferences)
|
| public static void | openExternalViewer(BibDatabaseContext databaseContext, PreferencesService preferencesService, String initialLink, Field initialField, DialogService dialogService, BibEntry entry)
Open a http/pdf/ps viewer for the given link string. |
| public static void | openFolderAndSelectFile(Path
the location of the file fileLink, ExternalApplicationsPreferences externalApplicationsPreferences, DialogService dialogService)Opens a file browser of the folder of the given file. |
| private static void |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| NATIVE_DESKTOP | back to summary |
|---|---|
| private static final NativeDesktop NATIVE_DESKTOP | |
| REMOTE_LINK_PATTERN | back to summary |
|---|---|
| private static final Pattern REMOTE_LINK_PATTERN | |
| JabRefDesktop | back to summary |
|---|---|
| private JabRefDesktop() | |
| executeCommand | back to summary |
|---|---|
| private static void executeCommand(String command, String absolutePath, DialogService dialogService) | |
| getApplicationDirectory | back to summary |
|---|---|
| public static Path getApplicationDirectory() | |
| getFulltextIndexBaseDirectory | back to summary |
|---|---|
| public static Path getFulltextIndexBaseDirectory() | |
| moveToTrash | back to summary |
|---|---|
| public static void moveToTrash(Path path) Moves the given file to the trash.
| |
| moveToTrashSupported | back to summary |
|---|---|
| public static boolean moveToTrashSupported() | |
| openBrowser | back to summary |
|---|---|
| public static void openBrowser(String url, FilePreferences filePreferences) throws IOException Opens the given URL using the system browser
| |
| openBrowser | back to summary |
|---|---|
| public static void openBrowser(URI url, FilePreferences filePreferences) throws IOException | |
| openBrowserShowPopup | back to summary |
|---|---|
| public static void openBrowserShowPopup(String url, DialogService dialogService, FilePreferences filePreferences) Opens the url with the users standard Browser. If that fails a popup will be shown to instruct the user to open the link manually and the link gets copied to the clipboard
| |
| openConsole | back to summary |
|---|---|
| public static void openConsole(Path file, PreferencesService preferencesService, DialogService dialogService) throws IOException Opens a new console starting on the given file location
| |
| openCustomDoi | back to summary |
|---|---|
| public static void openCustomDoi(String link, PreferencesService preferences, DialogService dialogService) | |
| openDoi | back to summary |
|---|---|
| private static void openDoi(String doi, PreferencesService preferencesService) throws IOException | |
| openExternalFileAnyFormat | back to summary |
|---|---|
| public static boolean openExternalFileAnyFormat(final BibDatabaseContext databaseContext, FilePreferences filePreferences, String link, final Optional<ExternalFileType> type) throws IOException Open an external file, attempting to use the correct viewer for it. If the "file" is an online link, instead open it with the browser
| |
| openExternalFilePlatformIndependent | back to summary |
|---|---|
| private static void openExternalFilePlatformIndependent(Optional<ExternalFileType> fileType, String filePath, FilePreferences filePreferences) throws IOException | |
| openExternalViewer | back to summary |
|---|---|
| public static void openExternalViewer(BibDatabaseContext databaseContext, PreferencesService preferencesService, String initialLink, Field initialField, DialogService dialogService, BibEntry entry) throws IOException Open a http/pdf/ps viewer for the given link string.
Opening a PDF file at the file field is done at | |
| openFolderAndSelectFile | back to summary |
|---|---|
| public static void openFolderAndSelectFile(Path fileLink, ExternalApplicationsPreferences externalApplicationsPreferences, DialogService dialogService) throws IOException Opens a file browser of the folder of the given file. If possible, the file is selected
| |
| openIsbn | back to summary |
|---|---|
| private static void openIsbn(String isbn, PreferencesService preferencesService) throws IOException | |