Autopsy  4.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
FileTypeIdModuleFactory.java
Go to the documentation of this file.
1 /*
2  * Autopsy Forensic Browser
3  *
4  * Copyright 2014 Basis Technology Corp.
5  * Contact: carrier <at> sleuthkit <dot> org
6  *
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  * http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  */
19 package org.sleuthkit.autopsy.modules.filetypeid;
20 
21 import org.openide.util.NbBundle;
22 import org.openide.util.lookup.ServiceProvider;
29 
33 // TODO: This class does not need to be public.
34 @ServiceProvider(service = IngestModuleFactory.class)
36 
37  FileTypeIdGlobalSettingsPanel globalSettingsPanel;
38 
42  @Override
43  public String getModuleDisplayName() {
44  return getModuleName();
45  }
46 
52  static String getModuleName() {
53  return NbBundle.getMessage(FileTypeIdIngestModule.class,
54  "FileTypeIdIngestModule.moduleName.text");
55  }
56 
60  @Override
61  public String getModuleDescription() {
62  return NbBundle.getMessage(FileTypeIdIngestModule.class,
63  "FileTypeIdIngestModule.moduleDesc.text");
64  }
65 
69  @Override
70  public String getModuleVersionNumber() {
71  return Version.getVersion();
72  }
73 
77  @Override
78  public boolean hasGlobalSettingsPanel() {
79  return true;
80  }
81 
85  @Override
87  if (null == globalSettingsPanel) {
88  globalSettingsPanel = new FileTypeIdGlobalSettingsPanel();
89  }
90  globalSettingsPanel.load();
91  return globalSettingsPanel;
92  }
93 
97  @Override
98  public boolean isFileIngestModuleFactory() {
99  return true;
100  }
101 
105  @Override
107  return new FileTypeIdIngestModule();
108  }
109 }
FileIngestModule createFileIngestModule(IngestModuleIngestJobSettings settings)

Copyright © 2012-2015 Basis Technology. Generated on: Wed Apr 6 2016
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.