File Visitor Flashcards

1
Q

Invoked just before the elements of the directory are accessed

A

preVisitDirectory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Invoked when a file is visited.

A

visitFile

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Invoked when all the elements of a directory are accessed.

A

postVisitDirectory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Invoked when the file cannot be accessed

A

visitFileFailed

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Paramater to FileVisitor that indicates the depth to travel.

A

MAX_VALUE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Class that must be extended if you do not want to implement all methods of the FileVisitor interface.

A

SimpleFileVisitor

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Return value that indicates that the walk through the file tree should continue.

A

CONTINUE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Return value that indicates that the walk through the tree should be terminated immediately.

A

TERMINATE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Return value that indicates that the rest of the subtree should be skipped.

A

SKIP_SUBTREE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Return value that indicates that the walk should be stopped for the current directory and its sibling directory.

A

SKIP_SIBLINGS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly