remove vestigial method

This commit is contained in:
Karl Mortensen 2015-06-01 13:54:50 -04:00
parent be5eff103e
commit c7d9cedf29
3 changed files with 2 additions and 20 deletions

View File

@ -758,24 +758,6 @@ public class Case implements SleuthkitCase.ErrorObserver, SleuthkitCase.Sleuthki
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
* it does not already exist.

View File

@ -1,5 +1,5 @@
#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
SPLASH_HEIGHT=314
SPLASH_WIDTH=538

View File

@ -1,5 +1,5 @@
#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_No_Project=Autopsy 3.1.2