mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-12 16:06:15 +00:00
Merge branch 'develop' into jp-loc-dev
This commit is contained in:
commit
943f8dc2ae
@ -37,7 +37,7 @@ import org.sleuthkit.autopsy.coreutils.Logger;
|
|||||||
import org.sleuthkit.datamodel.TagName;
|
import org.sleuthkit.datamodel.TagName;
|
||||||
import org.sleuthkit.datamodel.TskCoreException;
|
import org.sleuthkit.datamodel.TskCoreException;
|
||||||
|
|
||||||
class GetTagNameAndCommentDialog extends JDialog {
|
public class GetTagNameAndCommentDialog extends JDialog {
|
||||||
private static final String NO_TAG_NAMES_MESSAGE = "No Tags";
|
private static final String NO_TAG_NAMES_MESSAGE = "No Tags";
|
||||||
private final HashMap<String, TagName> tagNames = new HashMap<>();
|
private final HashMap<String, TagName> tagNames = new HashMap<>();
|
||||||
private TagNameAndComment tagNameAndComment = null;
|
private TagNameAndComment tagNameAndComment = null;
|
||||||
|
@ -41,7 +41,7 @@ import org.sleuthkit.autopsy.coreutils.Logger;
|
|||||||
import org.sleuthkit.datamodel.TagName;
|
import org.sleuthkit.datamodel.TagName;
|
||||||
import org.sleuthkit.datamodel.TskCoreException;
|
import org.sleuthkit.datamodel.TskCoreException;
|
||||||
|
|
||||||
class GetTagNameDialog extends JDialog {
|
public class GetTagNameDialog extends JDialog {
|
||||||
private static final String TAG_ICON_PATH = "org/sleuthkit/autopsy/images/tag-folder-blue-icon-16.png";
|
private static final String TAG_ICON_PATH = "org/sleuthkit/autopsy/images/tag-folder-blue-icon-16.png";
|
||||||
private final HashMap<String, TagName> tagNames = new HashMap<>();
|
private final HashMap<String, TagName> tagNames = new HashMap<>();
|
||||||
private TagName tagName = null;
|
private TagName tagName = null;
|
||||||
|
@ -19,9 +19,10 @@
|
|||||||
package org.sleuthkit.autopsy.casemodule;
|
package org.sleuthkit.autopsy.casemodule;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Exception thrown when case action (such as open, close, create) resulted in an error
|
* Exception thrown when case action (such as open, close, create) resulted in
|
||||||
|
* an error
|
||||||
*/
|
*/
|
||||||
class CaseActionException extends Exception {
|
public class CaseActionException extends Exception {
|
||||||
|
|
||||||
public CaseActionException(String message) {
|
public CaseActionException(String message) {
|
||||||
super(message);
|
super(message);
|
||||||
@ -30,6 +31,4 @@ package org.sleuthkit.autopsy.casemodule;
|
|||||||
public CaseActionException(String message, Throwable cause) {
|
public CaseActionException(String message, Throwable cause) {
|
||||||
super(message, cause);
|
super(message, cause);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -27,7 +27,7 @@ import javax.swing.filechooser.FileFilter;
|
|||||||
/**
|
/**
|
||||||
* FileFilter helper class. Matches files based on extension
|
* FileFilter helper class. Matches files based on extension
|
||||||
*/
|
*/
|
||||||
class GeneralFilter extends FileFilter{
|
public class GeneralFilter extends FileFilter{
|
||||||
|
|
||||||
|
|
||||||
// Extensions & Descriptions for commonly used filters
|
// Extensions & Descriptions for commonly used filters
|
||||||
|
@ -39,7 +39,7 @@ import org.sleuthkit.autopsy.coreutils.ModuleSettings;
|
|||||||
/**
|
/**
|
||||||
* ImageTypePanel for adding an image file such as .img, .E0x, .00x, etc.
|
* ImageTypePanel for adding an image file such as .img, .E0x, .00x, etc.
|
||||||
*/
|
*/
|
||||||
class ImageFilePanel extends JPanel implements DocumentListener {
|
public class ImageFilePanel extends JPanel implements DocumentListener {
|
||||||
|
|
||||||
private final String PROP_LASTIMAGE_PATH = "LBL_LastImage_PATH";
|
private final String PROP_LASTIMAGE_PATH = "LBL_LastImage_PATH";
|
||||||
|
|
||||||
|
@ -56,7 +56,7 @@ import org.sleuthkit.datamodel.TskCoreException;
|
|||||||
* This class implements a singleton that manages the set of hash databases
|
* This class implements a singleton that manages the set of hash databases
|
||||||
* used to classify files as unknown, known or known bad.
|
* used to classify files as unknown, known or known bad.
|
||||||
*/
|
*/
|
||||||
class HashDbManager implements PropertyChangeListener {
|
public class HashDbManager implements PropertyChangeListener {
|
||||||
|
|
||||||
private static final String ROOT_ELEMENT = "hash_sets";
|
private static final String ROOT_ELEMENT = "hash_sets";
|
||||||
private static final String SET_ELEMENT = "hash_set";
|
private static final String SET_ELEMENT = "hash_set";
|
||||||
|
@ -33,7 +33,7 @@ import org.sleuthkit.datamodel.BlackboardAttribute;
|
|||||||
/**
|
/**
|
||||||
* Keyword list saving, loading, and editing abstract class.
|
* Keyword list saving, loading, and editing abstract class.
|
||||||
*/
|
*/
|
||||||
abstract class KeywordSearchListsAbstract {
|
public abstract class KeywordSearchListsAbstract {
|
||||||
|
|
||||||
protected String filePath;
|
protected String filePath;
|
||||||
Map<String, KeywordSearchList> theLists; //the keyword data
|
Map<String, KeywordSearchList> theLists; //the keyword data
|
||||||
|
@ -39,7 +39,7 @@ import org.w3c.dom.NodeList;
|
|||||||
* Manages reading and writing of keyword lists to user settings XML file keywords.xml
|
* Manages reading and writing of keyword lists to user settings XML file keywords.xml
|
||||||
* or to any file provided in constructor
|
* or to any file provided in constructor
|
||||||
*/
|
*/
|
||||||
class KeywordSearchListsXML extends KeywordSearchListsAbstract{
|
public class KeywordSearchListsXML extends KeywordSearchListsAbstract{
|
||||||
|
|
||||||
private static final String ROOT_EL = "keyword_lists";
|
private static final String ROOT_EL = "keyword_lists";
|
||||||
private static final String LIST_EL = "keyword_list";
|
private static final String LIST_EL = "keyword_list";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user