jaulib v1.3.0
Jau Support Library (C++, Java, ..)
Public Member Functions | List of all members
org.jau.fs.FileUtil.PathVisitor Interface Reference

Path visitor for FileUtil#visit(FileStats, TraverseOptions, PathVisitor). More...

Inheritance diagram for org.jau.fs.FileUtil.PathVisitor:
Collaboration diagram for org.jau.fs.FileUtil.PathVisitor:

Public Member Functions

boolean visit (TraverseEvent tevt, final FileStats item_stats, final long depth)
 

Detailed Description

Path visitor for FileUtil#visit(FileStats, TraverseOptions, PathVisitor).

Depth being the recursive directory depth starting with 1 for the initial directory.

Returning false stops traversal in general but TraverseOptions.Bit#dir_check_entry will only skip traversing the denied directory.

Definition at line 172 of file FileUtil.java.

Member Function Documentation

◆ visit()

boolean org.jau.fs.FileUtil.PathVisitor.visit ( TraverseEvent  tevt,
final FileStats  item_stats,
final long  depth 
)
Parameters
tevt
item_stats
depthbeing the recursive directory depth starting with 1 for the initial directory
Returns
false stops traversal in general but at TraverseOptions.Bit#dir_check_entry will only skip traversing the denied directory.

Implemented in jau.test.fs.FileUtilBaseTest.PathStatsVisitor.


The documentation for this interface was generated from the following file: