19 package org.sleuthkit.datamodel;
21 import java.util.List;
22 import java.util.ArrayList;
100 List<OSInfo> infoList =
new ArrayList<OSInfo>();
107 AbstractFile file = skCase.getAbstractFileById(art.getObjectID());
115 if (isBackup && (!includeBackups)) {
121 FsContent fsc = (FsContent) file;
132 boolean mergedInfo =
false;
133 for (
OSInfo info : infoList) {
134 if (info.matches(newInfo)) {
143 infoList.add(newInfo);
145 }
else if (!restrictFs) {
150 boolean mergedInfo =
false;
151 for (
OSInfo info : infoList) {
152 if (info.matches(newInfo)) {
161 infoList.add(newInfo);
TSK_OS_INFO
Information pertaining to an operating system.
synchronized Content getParent()
static List< OSInfo > getAllOSInfo(SleuthkitCase skCase)
static List< OSInfo > getOSInfo(SleuthkitCase skCase)
void combine(OSInfo a_osInfo)
static List< OSInfo > getOSInfo(SleuthkitCase skCase, FsContent fsc)
static List< OSInfo > getOSInfoInternal(SleuthkitCase skCase, boolean includeBackups, boolean restrictFs, long fsId)