19 package org.sleuthkit.autopsy.ingest;
21 import java.util.ArrayList;
22 import java.util.Collection;
39 final class GetRootDirectoryVisitor
extends GetFilesContentVisitor {
42 public Collection<AbstractFile> visit(VirtualDirectory ld) {
45 Collection<AbstractFile> ret =
new ArrayList<>();
51 public Collection<AbstractFile> visit(LocalDirectory ld) {
53 Collection<AbstractFile> ret =
new ArrayList<>();
59 public Collection<AbstractFile> visit(LayoutFile lf) {
61 Collection<AbstractFile> ret =
new ArrayList<>();
67 public Collection<AbstractFile> visit(Directory drctr) {
69 Collection<AbstractFile> ret =
new ArrayList<>();
75 public Collection<AbstractFile> visit(FileSystem fs) {
76 return getAllFromChildren(fs);
80 public Collection<AbstractFile> visit(File file) {
82 return getAllFromChildren(file);
86 public Collection<AbstractFile> visit(DerivedFile derivedFile) {
89 return getAllFromChildren(derivedFile);
93 public Collection<AbstractFile> visit(LocalFile localFile) {
96 return getAllFromChildren(localFile);
100 public Collection<AbstractFile> visit(SlackFile slackFile) {
103 return getAllFromChildren(slackFile);
107 public Collection<AbstractFile> visit(BlackboardArtifact art) {
108 return getAllFromChildren(art);