|
Autopsy
4.21.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Public Member Functions | |
| void | browse (URI uri) throws IOException |
| void | edit (File file) throws IOException |
| void | open (File file) throws IOException |
Static Public Member Functions | |
| static Desktop | getDesktop () |
| static boolean | isDesktopSupported () |
Private Member Functions | |
| Desktop (java.awt.Desktop awtDesktop) | |
| void | xdgOpen (String path) throws IOException |
Static Private Member Functions | |
| static boolean | isXdgSupported () |
Private Attributes | |
| final java.awt.Desktop | awtDesktop |
Static Private Attributes | |
| static Desktop | instance = null |
| static final Logger | LOGGER = Logger.getLogger(Desktop.class.getName()) |
| static final long | XDG_TIMEOUT_SECS = 30 |
| static Boolean | xdgSupported = null |
Wrapper for java.awt.Desktop to handle some situations that java.awt.Desktop doesn't.
Definition at line 32 of file Desktop.java.
|
private |
Private constructor for this wrapper.
| awtDesktop | The delegate java.awt.Desktop. |
Definition at line 82 of file Desktop.java.
References org.sleuthkit.autopsy.coreutils.Desktop.awtDesktop.
Referenced by org.sleuthkit.autopsy.coreutils.Desktop.getDesktop().
| void org.sleuthkit.autopsy.coreutils.Desktop.browse | ( | URI | uri | ) | throws IOException |
Triggers the OS to navigate to the given uri.
| uri | The uri. |
| IOException |
Definition at line 111 of file Desktop.java.
References org.sleuthkit.autopsy.coreutils.Desktop.awtDesktop, org.sleuthkit.autopsy.coreutils.Desktop.browse(), org.sleuthkit.autopsy.coreutils.Desktop.isXdgSupported(), and org.sleuthkit.autopsy.coreutils.Desktop.xdgOpen().
Referenced by org.sleuthkit.autopsy.texttranslation.translators.BingTranslatorSettingsPanel.BingTranslatorSettingsPanel(), org.sleuthkit.autopsy.coreutils.Desktop.browse(), org.sleuthkit.autopsy.texttranslation.translators.GoogleTranslatorSettingsPanel.GoogleTranslatorSettingsPanel(), com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTMalwareScannerOptionsPanel.gotoLink(), org.sleuthkit.autopsy.corecomponents.AboutWindowPanel.AboutPanelHyperlinkListener.hyperlinkUpdate(), com.basistech.df.cybertriage.autopsy.CTIntegrationMissingDialog.linkMouseClicked(), org.sleuthkit.autopsy.directorytree.ExternalViewerAction.openFile(), org.sleuthkit.autopsy.directorytree.ExternalViewerAction.openURL(), org.sleuthkit.autopsy.corecomponents.AboutWindowPanel.showUrl(), and org.sleuthkit.autopsy.corecomponents.OnlineHelpAction.viewOnlineHelp().
| void org.sleuthkit.autopsy.coreutils.Desktop.edit | ( | File | file | ) | throws IOException |
Triggers the OS to edit the given file.
| file | The file. |
| IOException |
Definition at line 139 of file Desktop.java.
References org.sleuthkit.autopsy.coreutils.Desktop.awtDesktop, org.sleuthkit.autopsy.coreutils.Desktop.edit(), org.sleuthkit.autopsy.coreutils.Desktop.isXdgSupported(), and org.sleuthkit.autopsy.coreutils.Desktop.xdgOpen().
Referenced by org.sleuthkit.autopsy.coreutils.Desktop.edit().
|
static |
Definition at line 67 of file Desktop.java.
References org.sleuthkit.autopsy.coreutils.Desktop.Desktop(), and org.sleuthkit.autopsy.coreutils.Desktop.instance.
Referenced by org.sleuthkit.autopsy.actions.OpenPythonModulesFolderAction.actionPerformed(), org.sleuthkit.autopsy.actions.OpenLogFolderAction.actionPerformed(), org.sleuthkit.autopsy.texttranslation.translators.BingTranslatorSettingsPanel.BingTranslatorSettingsPanel(), org.sleuthkit.autopsy.communications.VisualizationPanel.createReport(), org.sleuthkit.autopsy.actions.ThreadDumpAction.ThreadDumper.done(), org.sleuthkit.autopsy.texttranslation.translators.GoogleTranslatorSettingsPanel.GoogleTranslatorSettingsPanel(), com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTMalwareScannerOptionsPanel.gotoLink(), org.sleuthkit.autopsy.corecomponents.AboutWindowPanel.AboutPanelHyperlinkListener.hyperlinkUpdate(), com.basistech.df.cybertriage.autopsy.CTIntegrationMissingDialog.linkMouseClicked(), org.sleuthkit.autopsy.directorytree.ExternalViewerAction.openFile(), org.sleuthkit.autopsy.modules.yara.ui.RuleSetDetailsPanel.openFolderButtonActionPerformed(), org.sleuthkit.autopsy.directorytree.ExternalViewerAction.openURL(), org.sleuthkit.autopsy.actions.OpenOutputFolderAction.performAction(), org.sleuthkit.autopsy.report.ReportProgressPanel.setLabels(), org.sleuthkit.autopsy.corecomponents.AboutWindowPanel.showUrl(), org.sleuthkit.autopsy.corecomponents.OfflineHelpAction.viewOfflineHelp(), and org.sleuthkit.autopsy.corecomponents.OnlineHelpAction.viewOnlineHelp().
|
static |
Definition at line 58 of file Desktop.java.
References org.sleuthkit.autopsy.coreutils.Desktop.isXdgSupported().
Referenced by org.sleuthkit.autopsy.texttranslation.translators.BingTranslatorSettingsPanel.BingTranslatorSettingsPanel(), org.sleuthkit.autopsy.texttranslation.translators.GoogleTranslatorSettingsPanel.GoogleTranslatorSettingsPanel(), com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTMalwareScannerOptionsPanel.gotoLink(), org.sleuthkit.autopsy.corecomponents.AboutWindowPanel.AboutPanelHyperlinkListener.hyperlinkUpdate(), com.basistech.df.cybertriage.autopsy.CTIntegrationMissingDialog.linkMouseClicked(), org.sleuthkit.autopsy.corecomponents.AboutWindowPanel.showUrl(), org.sleuthkit.autopsy.corecomponents.OfflineHelpAction.viewOfflineHelp(), and org.sleuthkit.autopsy.corecomponents.OnlineHelpAction.viewOnlineHelp().
|
staticprivate |
Definition at line 39 of file Desktop.java.
References org.sleuthkit.autopsy.coreutils.Desktop.xdgSupported.
Referenced by org.sleuthkit.autopsy.coreutils.Desktop.browse(), org.sleuthkit.autopsy.coreutils.Desktop.edit(), org.sleuthkit.autopsy.coreutils.Desktop.isDesktopSupported(), and org.sleuthkit.autopsy.coreutils.Desktop.open().
| void org.sleuthkit.autopsy.coreutils.Desktop.open | ( | File | file | ) | throws IOException |
Triggers the OS to open the given file.
| file | The file. |
| IOException |
Definition at line 125 of file Desktop.java.
References org.sleuthkit.autopsy.coreutils.Desktop.awtDesktop, org.sleuthkit.autopsy.coreutils.Desktop.isXdgSupported(), org.sleuthkit.autopsy.coreutils.Desktop.open(), and org.sleuthkit.autopsy.coreutils.Desktop.xdgOpen().
Referenced by org.sleuthkit.autopsy.actions.OpenPythonModulesFolderAction.actionPerformed(), org.sleuthkit.autopsy.actions.OpenLogFolderAction.actionPerformed(), org.sleuthkit.autopsy.communications.VisualizationPanel.createReport(), org.sleuthkit.autopsy.actions.ThreadDumpAction.ThreadDumper.done(), org.sleuthkit.autopsy.coreutils.Desktop.open(), org.sleuthkit.autopsy.directorytree.ExternalViewerAction.openFile(), org.sleuthkit.autopsy.modules.yara.ui.RuleSetDetailsPanel.openFolderButtonActionPerformed(), org.sleuthkit.autopsy.actions.OpenOutputFolderAction.performAction(), org.sleuthkit.autopsy.report.ReportProgressPanel.setLabels(), and org.sleuthkit.autopsy.corecomponents.OfflineHelpAction.viewOfflineHelp().
|
private |
Opens a given path using xdg-open on linux.
| path | The path. |
| IOException |
Definition at line 92 of file Desktop.java.
Referenced by org.sleuthkit.autopsy.coreutils.Desktop.browse(), org.sleuthkit.autopsy.coreutils.Desktop.edit(), and org.sleuthkit.autopsy.coreutils.Desktop.open().
|
private |
Definition at line 75 of file Desktop.java.
Referenced by org.sleuthkit.autopsy.coreutils.Desktop.browse(), org.sleuthkit.autopsy.coreutils.Desktop.Desktop(), org.sleuthkit.autopsy.coreutils.Desktop.edit(), and org.sleuthkit.autopsy.coreutils.Desktop.open().
|
staticprivate |
Definition at line 62 of file Desktop.java.
Referenced by org.sleuthkit.autopsy.coreutils.Desktop.getDesktop().
|
staticprivate |
Definition at line 34 of file Desktop.java.
|
staticprivate |
Definition at line 35 of file Desktop.java.
|
staticprivate |
Definition at line 37 of file Desktop.java.
Referenced by org.sleuthkit.autopsy.coreutils.Desktop.isXdgSupported().
Copyright © 2012-2024 Sleuth Kit Labs. Generated on: Mon Mar 17 2025
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.