Go to the documentation of this file.
19package org.sleuthkit.autopsy.datasourceprocessors.xry;
24final class XRYFileParserFactory {
40 static XRYFileParser
get(String reportType) {
41 if (reportType ==
null) {
42 throw new IllegalArgumentException(
"Report type cannot be null");
45 switch (reportType.trim().toLowerCase()) {
47 return new XRYCallsFileParser();
48 case "contacts/contacts":
50 return new XRYContactsFileParser();
51 case "device/general information":
52 return new XRYDeviceGenInfoFileParser();
54 return new XRYMessagesFileParser();
56 return new XRYWebBookmarksFileParser();
58 throw new IllegalArgumentException(reportType +
" not recognized.");
68 static boolean supports(String reportType) {
73 }
catch (IllegalArgumentException ex) {
79 private XRYFileParserFactory() {
Copyright © 2012-2024 Sleuth Kit Labs. Generated on:
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.