19 package org.sleuthkit.autopsy.ingest;
21 import java.util.ArrayList;
22 import java.util.Collection;
41 final class GetRootDirectoryVisitor
extends GetFilesContentVisitor {
44 public Collection<AbstractFile> visit(VirtualDirectory ld) {
47 Collection<AbstractFile> ret =
new ArrayList<>();
53 public Collection<AbstractFile> visit(LocalDirectory ld) {
55 Collection<AbstractFile> ret =
new ArrayList<>();
61 public Collection<AbstractFile> visit(LayoutFile lf) {
63 Collection<AbstractFile> ret =
new ArrayList<>();
69 public Collection<AbstractFile> visit(Directory drctr) {
71 Collection<AbstractFile> ret =
new ArrayList<>();
77 public Collection<AbstractFile> visit(FileSystem fs) {
78 return getAllFromChildren(fs);
82 public Collection<AbstractFile> visit(File file) {
84 return getAllFromChildren(file);
88 public Collection<AbstractFile> visit(DerivedFile derivedFile) {
91 return getAllFromChildren(derivedFile);
95 public Collection<AbstractFile> visit(LocalFile localFile) {
98 return getAllFromChildren(localFile);
102 public Collection<AbstractFile> visit(SlackFile slackFile) {
105 return getAllFromChildren(slackFile);
109 public Collection<AbstractFile> visit(BlackboardArtifact art) {
110 return getAllFromChildren(art);
114 public Collection<AbstractFile> visit(OsAccount art) {
115 return getAllFromChildren(art);
119 public Collection<AbstractFile> visit(UnsupportedContent uc) {
120 return getAllFromChildren(uc);