Class NBIOWalker.RegexFilter

java.lang.Object
io.nosqlbench.nb.api.content.NBIOWalker.RegexFilter
All Implemented Interfaces:
java.nio.file.DirectoryStream.Filter<java.nio.file.Path>
Enclosing class:
NBIOWalker

public static class NBIOWalker.RegexFilter
extends java.lang.Object
implements java.nio.file.DirectoryStream.Filter<java.nio.file.Path>
  • Constructor Summary

    Constructors 
    Constructor Description
    RegexFilter​(java.lang.String pattern, boolean rightglob)  
  • Method Summary

    Modifier and Type Method Description
    boolean accept​(java.nio.file.Path entry)  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • RegexFilter

      public RegexFilter​(java.lang.String pattern, boolean rightglob)
  • Method Details

    • accept

      public boolean accept​(java.nio.file.Path entry) throws java.io.IOException
      Specified by:
      accept in interface java.nio.file.DirectoryStream.Filter<java.nio.file.Path>
      Throws:
      java.io.IOException
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object