19 package org.sleuthkit.datamodel;
21 import java.util.List;
22 import java.util.ArrayList;
92 List<OSInfo> infoList =
new ArrayList<OSInfo>();
99 AbstractFile file = skCase.getAbstractFileById(art.getObjectID());
107 if (isBackup && (!includeBackups)) {
113 FsContent fsc = (FsContent) file;
124 boolean mergedInfo =
false;
125 for (
OSInfo info : infoList) {
126 if (info.matches(newInfo)) {
135 infoList.add(newInfo);
137 }
else if (!restrictFs) {
142 boolean mergedInfo =
false;
143 for (
OSInfo info : infoList) {
144 if (info.matches(newInfo)) {
153 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)