Autopsy
4.19.3
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits org.sleuthkit.autopsy.ingest.IngestModuleGlobalSettingsPanel, org.sleuthkit.autopsy.corecomponents.OptionsPanel, and AutoCloseable.
Classes | |
interface | UpdateAction |
Public Member Functions | |
WebCategoriesOptionsPanel (WebCategoriesDataModel dataModel) | |
void | close () |
void | load () |
void | saveSettings () |
void | store () |
Private Member Functions | |
void | deleteEntryButtonActionPerformed (java.awt.event.ActionEvent evt) |
void | editEntryButtonActionPerformed (java.awt.event.ActionEvent evt) |
void | exportSetButtonActionPerformed (java.awt.event.ActionEvent evt) |
DomainCategory | getAddEditValue (DomainCategory original) |
List< DomainCategory > | getSelected () |
void | importSetButtonActionPerformed (java.awt.event.ActionEvent evt) |
void | initComponents () |
void | newEntryButtonActionPerformed (java.awt.event.ActionEvent evt) |
void | onRefreshedData (DataFetchResult< List< DomainCategory >> categoriesResult) |
void | refreshComponentStates () |
void | runUpdateAction (UpdateAction runnable) throws IllegalArgumentException, IOException, SQLException |
void | setDefaultCursor () |
void | setWaitingCursor () |
Private Attributes | |
final JTablePanel< DomainCategory > | categoryTable |
final WebCategoriesDataModel | dataModel |
javax.swing.JButton | deleteEntryButton |
Set< String > | domainSuffixes = new HashSet<>() |
javax.swing.JButton | editEntryButton |
javax.swing.JButton | exportSetButton |
final JFileChooser | fileChooser = new JFileChooser() |
javax.swing.JButton | importSetButton |
final PropertyChangeListener | ingestListener = (evt) -> refreshComponentStates() |
javax.swing.JLabel | ingestRunningWarning |
boolean | isRefreshing = false |
javax.swing.JButton | newEntryButton |
final PropertyChangeListener | weakIngestListener = WeakListeners.propertyChange(ingestListener, this) |
Static Private Attributes | |
static final FileNameExtensionFilter | DB_FILTER = new FileNameExtensionFilter("JSON", DEFAULT_EXTENSION) |
static final String | DEFAULT_EXTENSION = "json" |
static final Logger | logger = Logger.getLogger(WebCategoriesOptionsPanel.class.getName()) |
The options panel displayed for import, export, and CRUD operations on domain categories.
Definition at line 60 of file WebCategoriesOptionsPanel.java.
org.sleuthkit.autopsy.url.analytics.domaincategorization.WebCategoriesOptionsPanel.WebCategoriesOptionsPanel | ( | WebCategoriesDataModel | dataModel | ) |
Main constructor.
dataModel | The data model that interacts with the database. |
Definition at line 95 of file WebCategoriesOptionsPanel.java.
References org.sleuthkit.autopsy.ingest.IngestManager.addIngestJobEventListener(), and org.sleuthkit.autopsy.ingest.IngestManager.getInstance().
void org.sleuthkit.autopsy.url.analytics.domaincategorization.WebCategoriesOptionsPanel.close | ( | ) |
Definition at line 573 of file WebCategoriesOptionsPanel.java.
References org.sleuthkit.autopsy.ingest.IngestManager.getInstance(), and org.sleuthkit.autopsy.ingest.IngestManager.removeIngestJobEventListener().
|
private |
Definition at line 387 of file WebCategoriesOptionsPanel.java.
|
private |
Definition at line 417 of file WebCategoriesOptionsPanel.java.
References org.sleuthkit.autopsy.url.analytics.DomainCategory.getHostSuffix().
|
private |
Definition at line 516 of file WebCategoriesOptionsPanel.java.
|
private |
Shows the AddEditCategoryDialog to the user and returns the user-inputted DomainCategory or null if nothing was saved.
original | If editing a value, this is the original value being edited. If adding a new value, this should be null. |
Definition at line 177 of file WebCategoriesOptionsPanel.java.
|
private |
Returns the items selected in the table or null if no selection.
Definition at line 112 of file WebCategoriesOptionsPanel.java.
|
private |
Definition at line 444 of file WebCategoriesOptionsPanel.java.
References org.sleuthkit.autopsy.url.analytics.DomainCategory.getCategory().
|
private |
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.
Definition at line 247 of file WebCategoriesOptionsPanel.java.
void org.sleuthkit.autopsy.url.analytics.domaincategorization.WebCategoriesOptionsPanel.load | ( | ) |
Load the saved state of all options, and refresh this OptionsPanel accordingly.
Implements org.sleuthkit.autopsy.corecomponents.OptionsPanel.
Definition at line 568 of file WebCategoriesOptionsPanel.java.
|
private |
Definition at line 405 of file WebCategoriesOptionsPanel.java.
References org.sleuthkit.autopsy.url.analytics.DomainCategory.getHostSuffix().
|
private |
When the result of loading the data is returned, this function handles updating the GUI.
categoriesResult | The result of attempting to fetch the data. |
Definition at line 135 of file WebCategoriesOptionsPanel.java.
References org.sleuthkit.autopsy.datasourcesummary.uiutils.DataFetchResult< R >.ResultType.SUCCESS.
|
private |
Refreshes the state of the components based on whether or not an item is selected as well as whether or not data is loading or ingest is happening.
Definition at line 153 of file WebCategoriesOptionsPanel.java.
References org.sleuthkit.autopsy.ingest.IngestManager.getInstance(), and org.sleuthkit.autopsy.ingest.IngestManager.isIngestRunning().
|
private |
Runs an action to update the state of the configuration and runs refresh when complete.
runnable | The runnable action. |
IllegalArgumentException | |
IOException | |
SQLException |
Definition at line 233 of file WebCategoriesOptionsPanel.java.
void org.sleuthkit.autopsy.url.analytics.domaincategorization.WebCategoriesOptionsPanel.saveSettings | ( | ) |
Definition at line 558 of file WebCategoriesOptionsPanel.java.
|
private |
Set cursor to default.
Definition at line 205 of file WebCategoriesOptionsPanel.java.
|
private |
Set cursor to waiting.
Definition at line 198 of file WebCategoriesOptionsPanel.java.
void org.sleuthkit.autopsy.url.analytics.domaincategorization.WebCategoriesOptionsPanel.store | ( | ) |
Store the current state of all options in this OptionsPanel.
Implements org.sleuthkit.autopsy.corecomponents.OptionsPanel.
Definition at line 563 of file WebCategoriesOptionsPanel.java.
|
private |
Definition at line 70 of file WebCategoriesOptionsPanel.java.
|
private |
Definition at line 67 of file WebCategoriesOptionsPanel.java.
|
staticprivate |
Definition at line 64 of file WebCategoriesOptionsPanel.java.
|
staticprivate |
Definition at line 63 of file WebCategoriesOptionsPanel.java.
|
private |
Definition at line 549 of file WebCategoriesOptionsPanel.java.
|
private |
Definition at line 87 of file WebCategoriesOptionsPanel.java.
|
private |
Definition at line 550 of file WebCategoriesOptionsPanel.java.
|
private |
Definition at line 551 of file WebCategoriesOptionsPanel.java.
|
private |
Definition at line 66 of file WebCategoriesOptionsPanel.java.
|
private |
Definition at line 552 of file WebCategoriesOptionsPanel.java.
|
private |
Definition at line 85 of file WebCategoriesOptionsPanel.java.
|
private |
Definition at line 553 of file WebCategoriesOptionsPanel.java.
|
private |
Definition at line 88 of file WebCategoriesOptionsPanel.java.
|
staticprivate |
Definition at line 62 of file WebCategoriesOptionsPanel.java.
|
private |
Definition at line 554 of file WebCategoriesOptionsPanel.java.
|
private |
Definition at line 86 of file WebCategoriesOptionsPanel.java.
Copyright © 2012-2022 Basis Technology. Generated on: Tue May 30 2023
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.