Package org.apache.commons.io.file
Class DirectoryStreamFilter
java.lang.Object
org.apache.commons.io.file.DirectoryStreamFilter
- All Implemented Interfaces:
- DirectoryStream.Filter<Path>
A 
DirectoryStream.Filter that delegates to a PathFilter.
 
 You pass this filter to Files#newDirectoryStream(Path, DirectoryStream.Filter).
 
- Since:
- 2.9.0
- 
Constructor SummaryConstructorsConstructorDescriptionDirectoryStreamFilter(PathFilter pathFilter) Constructs a new instance for the given path filter.
- 
Method SummaryModifier and TypeMethodDescriptionbooleanGets the path filter.
- 
Constructor Details- 
DirectoryStreamFilterConstructs a new instance for the given path filter.- Parameters:
- pathFilter- How to filter paths.
 
 
- 
- 
Method Details- 
accept- Specified by:
- acceptin interface- DirectoryStream.Filter<Path>
- Throws:
- IOException
 
- 
getPathFilterGets the path filter.- Returns:
- the path filter.
 
 
-