mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-12 07:56:16 +00:00
Merge pull request #466 from SynapticNulship/publicize
Make these classes public.
This commit is contained in:
commit
3fd32fd3bc
@ -21,7 +21,7 @@ package org.sleuthkit.autopsy.casemodule;
|
|||||||
/**
|
/**
|
||||||
* Dialog to show add image error messages
|
* Dialog to show add image error messages
|
||||||
*/
|
*/
|
||||||
class AddImageErrorsDialog extends javax.swing.JDialog {
|
public class AddImageErrorsDialog extends javax.swing.JDialog {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates new form AddImageErrorsDialog
|
* Creates new form AddImageErrorsDialog
|
||||||
|
@ -25,6 +25,6 @@ import java.awt.event.ActionListener;
|
|||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
interface CaseNewActionInterface extends ActionListener {
|
public interface CaseNewActionInterface extends ActionListener {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -33,7 +33,7 @@ import org.openide.util.Lookup;
|
|||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
class CueBannerPanel extends javax.swing.JPanel {
|
public class CueBannerPanel extends javax.swing.JPanel {
|
||||||
|
|
||||||
final private static String title = "Open Recent Case";
|
final private static String title = "Open Recent Case";
|
||||||
final private static JFrame frame = new JFrame(title);
|
final private static JFrame frame = new JFrame(title);
|
||||||
|
@ -21,7 +21,7 @@ package org.sleuthkit.autopsy.casemodule;
|
|||||||
/**
|
/**
|
||||||
* Interface for startup window implementations
|
* Interface for startup window implementations
|
||||||
*/
|
*/
|
||||||
interface StartupWindowInterface {
|
public interface StartupWindowInterface {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Shows and makes active the startup window
|
* Shows and makes active the startup window
|
||||||
|
@ -32,7 +32,7 @@ import org.sleuthkit.autopsy.coreutils.Logger;
|
|||||||
* is to implement StartupWindowInterface and register it with lookup as a ServiceProvider.
|
* is to implement StartupWindowInterface and register it with lookup as a ServiceProvider.
|
||||||
* The custom startup window is automatically chosen over the default one, given it is the only external module custom startup window.
|
* The custom startup window is automatically chosen over the default one, given it is the only external module custom startup window.
|
||||||
*/
|
*/
|
||||||
class StartupWindowProvider implements StartupWindowInterface {
|
public class StartupWindowProvider implements StartupWindowInterface {
|
||||||
|
|
||||||
private static volatile StartupWindowProvider instance;
|
private static volatile StartupWindowProvider instance;
|
||||||
private static final Logger logger = Logger.getLogger(StartupWindowProvider.class.getName());
|
private static final Logger logger = Logger.getLogger(StartupWindowProvider.class.getName());
|
||||||
|
@ -43,7 +43,7 @@ import org.sleuthkit.datamodel.SleuthkitJNI;
|
|||||||
/**
|
/**
|
||||||
* Custom "About" window panel.
|
* Custom "About" window panel.
|
||||||
*/
|
*/
|
||||||
class ProductInformationPanel extends JPanel implements HyperlinkListener {
|
public class ProductInformationPanel extends JPanel implements HyperlinkListener {
|
||||||
|
|
||||||
private URL url = null;
|
private URL url = null;
|
||||||
private Icon about;
|
private Icon about;
|
||||||
|
@ -25,7 +25,7 @@ import java.util.List;
|
|||||||
* Contains Lists of commonly known and used file type extensions
|
* Contains Lists of commonly known and used file type extensions
|
||||||
* and 'getters' to obtain them.
|
* and 'getters' to obtain them.
|
||||||
*/
|
*/
|
||||||
class FileTypeExtensions {
|
public class FileTypeExtensions {
|
||||||
private final static List<String> IMAGE_EXTENSIONS = Arrays.asList(".jpg", ".jpeg", ".png", ".psd", ".nef", ".tiff", ".bmp");
|
private final static List<String> IMAGE_EXTENSIONS = Arrays.asList(".jpg", ".jpeg", ".png", ".psd", ".nef", ".tiff", ".bmp");
|
||||||
private final static List<String> VIDEO_EXTENSIONS = Arrays.asList(".aaf", ".3gp", ".asf", ".avi", ".m1v", ".m2v",
|
private final static List<String> VIDEO_EXTENSIONS = Arrays.asList(".aaf", ".3gp", ".asf", ".avi", ".m1v", ".m2v",
|
||||||
".m4v", ".mp4", ".mov", ".mpeg", ".mpg", ".mpe", ".mp4", ".rm", ".wmv", ".mpv", ".flv", ".swf");
|
".m4v", ".mp4", ".mov", ".mpeg", ".mpg", ".mpe", ".mp4", ".rm", ".wmv", ".mpv", ".flv", ".swf");
|
||||||
|
@ -20,7 +20,7 @@ package org.sleuthkit.autopsy.report;
|
|||||||
|
|
||||||
import javax.swing.JPanel;
|
import javax.swing.JPanel;
|
||||||
|
|
||||||
interface GeneralReportModule extends ReportModule {
|
public interface GeneralReportModule extends ReportModule {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Called to generate the report. Method is responsible for saving the file at the
|
* Called to generate the report. Method is responsible for saving the file at the
|
||||||
|
@ -37,7 +37,7 @@ import org.sleuthkit.autopsy.coreutils.PlatformUtil;
|
|||||||
*
|
*
|
||||||
* Uses module settings property files to store customizations.
|
* Uses module settings property files to store customizations.
|
||||||
*/
|
*/
|
||||||
final class ReportBranding implements ReportBrandingProviderI {
|
public final class ReportBranding implements ReportBrandingProviderI {
|
||||||
|
|
||||||
//property names
|
//property names
|
||||||
private static final String GENERATOR_LOGO_PATH_PROP = "GeneratorLogoPath";
|
private static final String GENERATOR_LOGO_PATH_PROP = "GeneratorLogoPath";
|
||||||
|
@ -27,7 +27,7 @@ import java.awt.event.MouseListener;
|
|||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
|
||||||
class ReportProgressPanel extends javax.swing.JPanel {
|
public class ReportProgressPanel extends javax.swing.JPanel {
|
||||||
private ReportStatus STATUS;
|
private ReportStatus STATUS;
|
||||||
|
|
||||||
// Enum to represent if a report is waiting,
|
// Enum to represent if a report is waiting,
|
||||||
|
@ -46,7 +46,7 @@ import org.sleuthkit.autopsy.hashdatabase.HashDbManager.HashDb.KnownFilesType;
|
|||||||
/**
|
/**
|
||||||
* Instances of this class provide a comprehensive UI for managing the hash sets configuration.
|
* Instances of this class provide a comprehensive UI for managing the hash sets configuration.
|
||||||
*/
|
*/
|
||||||
final class HashDbConfigPanel extends javax.swing.JPanel implements OptionsPanel {
|
public final class HashDbConfigPanel extends javax.swing.JPanel implements OptionsPanel {
|
||||||
private static final String NO_SELECTION_TEXT = "No database selected";
|
private static final String NO_SELECTION_TEXT = "No database selected";
|
||||||
private static final String ERROR_GETTING_PATH_TEXT = "Error occurred getting path";
|
private static final String ERROR_GETTING_PATH_TEXT = "Error occurred getting path";
|
||||||
private static final String ERROR_GETTING_INDEX_STATUS_TEXT = "Error occurred getting status";
|
private static final String ERROR_GETTING_INDEX_STATUS_TEXT = "Error occurred getting status";
|
||||||
|
@ -36,7 +36,7 @@ import org.sleuthkit.autopsy.hashdatabase.HashDbManager.HashDb;
|
|||||||
/**
|
/**
|
||||||
* Instances of this class provide a simplified UI for managing the hash sets configuration.
|
* Instances of this class provide a simplified UI for managing the hash sets configuration.
|
||||||
*/
|
*/
|
||||||
class HashDbSimpleConfigPanel extends javax.swing.JPanel {
|
public class HashDbSimpleConfigPanel extends javax.swing.JPanel {
|
||||||
|
|
||||||
private HashDatabasesTableModel knownTableModel;
|
private HashDatabasesTableModel knownTableModel;
|
||||||
private HashDatabasesTableModel knownBadTableModel;
|
private HashDatabasesTableModel knownBadTableModel;
|
||||||
|
@ -38,7 +38,7 @@ import java.util.logging.Level;
|
|||||||
* Wrapper over KeywordSearch Solr server singleton.
|
* Wrapper over KeywordSearch Solr server singleton.
|
||||||
* The class also provides some global types and property change support on the server events.
|
* The class also provides some global types and property change support on the server events.
|
||||||
*/
|
*/
|
||||||
class KeywordSearch {
|
public class KeywordSearch {
|
||||||
|
|
||||||
private static Server server;
|
private static Server server;
|
||||||
//we want a custom java.util.logging.Logger here for a reason
|
//we want a custom java.util.logging.Logger here for a reason
|
||||||
|
@ -24,7 +24,7 @@ import org.sleuthkit.autopsy.corecomponents.OptionsPanel;
|
|||||||
/**
|
/**
|
||||||
* Container panel for keyword search advanced configuration options
|
* Container panel for keyword search advanced configuration options
|
||||||
*/
|
*/
|
||||||
final class KeywordSearchConfigurationPanel extends javax.swing.JPanel implements OptionsPanel {
|
public final class KeywordSearchConfigurationPanel extends javax.swing.JPanel implements OptionsPanel {
|
||||||
|
|
||||||
private KeywordSearchConfigurationPanel1 listsPanel;
|
private KeywordSearchConfigurationPanel1 listsPanel;
|
||||||
private KeywordSearchConfigurationPanel3 languagesPanel;
|
private KeywordSearchConfigurationPanel3 languagesPanel;
|
||||||
|
@ -22,7 +22,7 @@ package org.sleuthkit.autopsy.keywordsearch;
|
|||||||
/**
|
/**
|
||||||
* Generic Keyword search module exception, wrapper for underlying exceptions
|
* Generic Keyword search module exception, wrapper for underlying exceptions
|
||||||
*/
|
*/
|
||||||
class KeywordSearchModuleException extends Exception {
|
public class KeywordSearchModuleException extends Exception {
|
||||||
|
|
||||||
public KeywordSearchModuleException(String message) {
|
public KeywordSearchModuleException(String message) {
|
||||||
super(message);
|
super(message);
|
||||||
|
@ -22,7 +22,7 @@ package org.sleuthkit.autopsy.keywordsearch;
|
|||||||
*
|
*
|
||||||
* Exception thrown when no core is open
|
* Exception thrown when no core is open
|
||||||
*/
|
*/
|
||||||
class NoOpenCoreException extends Exception {
|
public class NoOpenCoreException extends Exception {
|
||||||
|
|
||||||
NoOpenCoreException() {
|
NoOpenCoreException() {
|
||||||
super("No currently open Solr core.");
|
super("No currently open Solr core.");
|
||||||
|
@ -65,7 +65,7 @@ import org.apache.solr.client.solrj.impl.XMLResponseParser;
|
|||||||
/**
|
/**
|
||||||
* Handles for keeping track of a Solr server and its cores
|
* Handles for keeping track of a Solr server and its cores
|
||||||
*/
|
*/
|
||||||
class Server {
|
public class Server {
|
||||||
|
|
||||||
// field names that are used in SOLR schema
|
// field names that are used in SOLR schema
|
||||||
public static enum Schema {
|
public static enum Schema {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user