Shorten name of EFE folder

This commit is contained in:
apriestman 2021-05-26 08:28:12 -04:00
parent c11f8ae66d
commit cde4661260
3 changed files with 8 additions and 4 deletions

View File

@ -94,8 +94,8 @@ public final class EmbeddedFileExtractorIngestModule extends FileIngestModuleAda
* *
*/ */
Case currentCase = Case.getCurrentCase(); Case currentCase = Case.getCurrentCase();
String moduleDirAbsolute = Paths.get(currentCase.getModuleDirectory(), EmbeddedFileExtractorModuleFactory.getModuleName()).toString(); String moduleDirAbsolute = Paths.get(currentCase.getModuleDirectory(), EmbeddedFileExtractorModuleFactory.getOutputFolderName()).toString();
String moduleDirRelative = Paths.get(currentCase.getModuleOutputDirectoryRelativePath(), EmbeddedFileExtractorModuleFactory.getModuleName()).toString(); String moduleDirRelative = Paths.get(currentCase.getModuleOutputDirectoryRelativePath(), EmbeddedFileExtractorModuleFactory.getOutputFolderName()).toString();
if (refCounter.incrementAndGet(jobId) == 1) { if (refCounter.incrementAndGet(jobId) == 1) {

View File

@ -46,6 +46,10 @@ public class EmbeddedFileExtractorModuleFactory extends IngestModuleFactoryAdapt
return getModuleName(); return getModuleName();
} }
static String getOutputFolderName() {
return "EFE";
}
@Override @Override
public String getModuleDescription() { public String getModuleDescription() {
return Bundle.EmbeddedFileExtractorIngestModule_ArchiveExtractor_moduleDesc_text(); return Bundle.EmbeddedFileExtractorIngestModule_ArchiveExtractor_moduleDesc_text();

View File

@ -112,8 +112,8 @@ public class ExtractArchiveWithPasswordAction extends AbstractAction {
protected Boolean doInBackground() { protected Boolean doInBackground() {
boolean done = false; boolean done = false;
try { try {
String moduleDirRelative = Paths.get(Case.getCurrentCaseThrows().getModuleOutputDirectoryRelativePath(), EmbeddedFileExtractorModuleFactory.getModuleName()).toString(); String moduleDirRelative = Paths.get(Case.getCurrentCaseThrows().getModuleOutputDirectoryRelativePath(), EmbeddedFileExtractorModuleFactory.getOutputFolderName()).toString();
String moduleDirAbsolute = Paths.get(Case.getCurrentCaseThrows().getModuleDirectory(), EmbeddedFileExtractorModuleFactory.getModuleName()).toString(); String moduleDirAbsolute = Paths.get(Case.getCurrentCaseThrows().getModuleDirectory(), EmbeddedFileExtractorModuleFactory.getOutputFolderName()).toString();
/* /*
* Construct a file type detector. * Construct a file type detector.
*/ */