19 package org.sleuthkit.autopsy.discovery.ui;
21 import java.awt.Image;
22 import java.util.ArrayList;
23 import java.util.Collections;
24 import java.util.List;
31 final class VideoThumbnailsWrapper {
33 private final List<Image> thumbnails;
34 private final ResultFile resultFile;
35 private int[] timeStamps;
43 VideoThumbnailsWrapper(ResultFile file) {
44 this.thumbnails =
new ArrayList<>();
45 this.timeStamps =
new int[4];
46 this.resultFile = file;
56 ResultFile getResultFile() {
67 int[] getTimeStamps() {
68 return timeStamps.clone();
76 List<Image> getThumbnails() {
77 return Collections.unmodifiableList(thumbnails);
88 void setThumbnails(List<Image> videoThumbnails,
int[] framePositions) {
89 this.thumbnails.addAll(videoThumbnails);
90 this.timeStamps = framePositions.clone();