mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-20 03:24:55 +00:00
remove vestigial method
This commit is contained in:
parent
be5eff103e
commit
c7d9cedf29
@ -758,24 +758,6 @@ public class Case implements SleuthkitCase.ErrorObserver, SleuthkitCase.Sleuthki
|
|||||||
return this.caseType;
|
return this.caseType;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the case type within an .aut file. Defaults to single-user case if
|
|
||||||
* there is a problem.
|
|
||||||
*
|
|
||||||
* @param thePath the path to the file, example: C:\folder\case.aut
|
|
||||||
* @return The case type contained in the .aut file.
|
|
||||||
*/
|
|
||||||
public static CaseType getCaseType(Path thePath) {
|
|
||||||
try {
|
|
||||||
XMLCaseManagement xmlcm = new XMLCaseManagement();
|
|
||||||
xmlcm.open(thePath.toString());
|
|
||||||
return xmlcm.getCaseType();
|
|
||||||
} catch (CaseActionException ex) {
|
|
||||||
logger.log(Level.SEVERE, NbBundle.getMessage(Case.class, "Case.GetCaseTypeGivenPath.Failure"), ex); // NON-NLS
|
|
||||||
return CaseType.SINGLE_USER_CASE;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the full path to the temp directory of this case. Will create it if
|
* Gets the full path to the temp directory of this case. Will create it if
|
||||||
* it does not already exist.
|
* it does not already exist.
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#Updated by build script
|
#Updated by build script
|
||||||
#Tue, 28 Apr 2015 18:19:58 -0400
|
#Mon, 01 Jun 2015 13:48:02 -0400
|
||||||
LBL_splash_window_title=Starting Autopsy
|
LBL_splash_window_title=Starting Autopsy
|
||||||
SPLASH_HEIGHT=314
|
SPLASH_HEIGHT=314
|
||||||
SPLASH_WIDTH=538
|
SPLASH_WIDTH=538
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#Updated by build script
|
#Updated by build script
|
||||||
#Tue, 28 Apr 2015 18:19:58 -0400
|
#Mon, 01 Jun 2015 13:48:02 -0400
|
||||||
|
|
||||||
CTL_MainWindow_Title=Autopsy 3.1.2
|
CTL_MainWindow_Title=Autopsy 3.1.2
|
||||||
CTL_MainWindow_Title_No_Project=Autopsy 3.1.2
|
CTL_MainWindow_Title_No_Project=Autopsy 3.1.2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user