The first just requires the starting directory and a FileVisitor object i.e.:
In a real application I would like to use the following
This works. However it appears to be only FOLLOW_LINKS as a possible choice of a FileVisitOption.
Therefore I wonder why in the second walkFileTree method, the second parameter is a set of FileVisitOption... I mean there is only one possible choice which is FOLLOW_LINKS. Am I missing something?
Thanks in advance.