mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-14 17:06:16 +00:00
Merge pull request #1454 from sidheshenator/encase_formatted_KWL
encase keyword list support made more obvious
This commit is contained in:
commit
58133cba13
@ -141,7 +141,8 @@ KeywordSearch.cancelImportMsg=Cancel import
|
|||||||
KeywordSearch.overwriteListPrompt=Keyword list <{0}> already exists locally, overwrite?
|
KeywordSearch.overwriteListPrompt=Keyword list <{0}> already exists locally, overwrite?
|
||||||
KeywordSearch.importOwConflict=Import list conflict
|
KeywordSearch.importOwConflict=Import list conflict
|
||||||
KeywordSearch.kwListFailImportMsg=Keyword list not imported
|
KeywordSearch.kwListFailImportMsg=Keyword list not imported
|
||||||
KeywordSearchListsManagementPanel.fileExtensionFilterLbl=Keyword List File
|
KeywordSearchListsManagementPanel.fileExtensionFilterLbl=Autopsy Keyword List File (xml)
|
||||||
|
KeywordSearchListsManagementPanel.fileExtensionFilterLb2=Encase Keyword List File (txt)
|
||||||
KeywordSearch.listImportFeatureTitle=Keyword List Import
|
KeywordSearch.listImportFeatureTitle=Keyword List Import
|
||||||
KeywordSearchIngestModule.moduleName=Keyword Search
|
KeywordSearchIngestModule.moduleName=Keyword Search
|
||||||
KeywordSearchIngestModule.moduleDescription=Performs file indexing and periodic search using keywords and regular expressions in lists.
|
KeywordSearchIngestModule.moduleDescription=Performs file indexing and periodic search using keywords and regular expressions in lists.
|
||||||
|
@ -210,10 +210,15 @@ class GlobalListsManagementPanel extends javax.swing.JPanel implements OptionsPa
|
|||||||
private void importButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_importButtonActionPerformed
|
private void importButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_importButtonActionPerformed
|
||||||
|
|
||||||
JFileChooser chooser = new JFileChooser();
|
JFileChooser chooser = new JFileChooser();
|
||||||
final String[] EXTENSION = new String[]{"xml", "txt"}; //NON-NLS
|
final String[] AUTOPSY_EXTENSIONS = new String[]{"xml"}; //NON-NLS
|
||||||
FileNameExtensionFilter filter = new FileNameExtensionFilter(
|
final String[] ENCASE_EXTENSIONS = new String[]{"txt"}; //NON-NLS
|
||||||
NbBundle.getMessage(this.getClass(), "KeywordSearchListsManagementPanel.fileExtensionFilterLbl"), EXTENSION);
|
FileNameExtensionFilter autopsyFilter = new FileNameExtensionFilter(
|
||||||
chooser.setFileFilter(filter);
|
NbBundle.getMessage(this.getClass(), "KeywordSearchListsManagementPanel.fileExtensionFilterLbl"), AUTOPSY_EXTENSIONS);
|
||||||
|
FileNameExtensionFilter encaseFilter = new FileNameExtensionFilter(
|
||||||
|
NbBundle.getMessage(this.getClass(), "KeywordSearchListsManagementPanel.fileExtensionFilterLb2"), ENCASE_EXTENSIONS);
|
||||||
|
chooser.addChoosableFileFilter(autopsyFilter);
|
||||||
|
chooser.addChoosableFileFilter(encaseFilter);
|
||||||
|
chooser.setAcceptAllFileFilterUsed(false);
|
||||||
chooser.setFileSelectionMode(JFileChooser.FILES_ONLY);
|
chooser.setFileSelectionMode(JFileChooser.FILES_ONLY);
|
||||||
|
|
||||||
String listName = null;
|
String listName = null;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user