/* * Autopsy Forensic Browser * * Copyright 2014 Basis Technology Corp. * Contact: carrier <at> sleuthkit <dot> org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.sleuthkit.autopsy.modules.iOS; import java.util.HashMap; import org.sleuthkit.autopsy.coreutils.Logger; import org.sleuthkit.autopsy.ingest.DataSourceIngestModuleProgress; import org.sleuthkit.autopsy.ingest.IngestModule; import org.sleuthkit.datamodel.Content; import org.sleuthkit.autopsy.ingest.DataSourceIngestModule; import org.sleuthkit.autopsy.ingest.IngestJobContext; import org.sleuthkit.autopsy.ingest.IngestModuleReferenceCounter; import org.sleuthkit.autopsy.ingest.IngestServices; class iOSIngestModule implements DataSourceIngestModule { private static final HashMap<Long, Long> fileCountsForIngestJobs = new HashMap<>(); private IngestJobContext context = null; private static final IngestModuleReferenceCounter refCounter = new IngestModuleReferenceCounter(); private static final Logger logger = Logger.getLogger(iOSModuleFactory.class.getName()); private IngestServices services = IngestServices.getInstance(); @Override public void startUp(IngestJobContext context) throws IngestModule.IngestModuleException { this.context = context; } @Override public IngestModule.ProcessResult process(Content dataSource, DataSourceIngestModuleProgress progressBar) { ContactAnalyzer FindContacts = new ContactAnalyzer(); FindContacts.findContacts(context); return IngestModule.ProcessResult.OK; } }