19 package org.sleuthkit.autopsy.filequery;
21 import java.awt.Image;
22 import java.util.ArrayList;
23 import java.util.Collections;
24 import java.util.List;
30 final class VideoThumbnailsWrapper {
32 private final List<Image> thumbnails;
33 private final ResultFile resultFile;
34 private int[] timeStamps;
42 VideoThumbnailsWrapper(ResultFile file) {
43 this.thumbnails =
new ArrayList<>();
44 this.timeStamps =
new int[4];
45 this.resultFile = file;
55 ResultFile getResultFile() {
66 int[] getTimeStamps() {
67 return timeStamps.clone();
75 List<Image> getThumbnails() {
76 return Collections.unmodifiableList(thumbnails);
87 void setThumbnails(List<Image> videoThumbnails,
int[] framePositions) {
88 this.thumbnails.addAll(videoThumbnails);
89 this.timeStamps = framePositions.clone();