Package thredds.inventory.filter
Class StreamFilter
- java.lang.Object
-
- thredds.inventory.filter.StreamFilter
-
- All Implemented Interfaces:
DirectoryStream.Filter<Path>
public class StreamFilter extends Object implements DirectoryStream.Filter<Path>
A java.nio.file.DirectoryStream.Filter using a regexp on the last entry of the Path- Since:
- 1/28/14
-
-
Constructor Summary
Constructors Constructor Description StreamFilter(com.google.re2j.Pattern pattern, boolean nameOnly)
-
-
-
Method Detail
-
accept
public boolean accept(Path entry)
- Specified by:
accept
in interfaceDirectoryStream.Filter<Path>
-
-