Class FileUtil.ExtensionFileFilter

  • All Implemented Interfaces:
    java.util.function.Predicate<java.nio.file.Path>
    Enclosing class:
    FileUtil

    public static class FileUtil.ExtensionFileFilter
    extends java.lang.Object
    implements java.util.function.Predicate<java.nio.file.Path>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean test​(java.nio.file.Path checkFile)
      (non-Javadoc)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.function.Predicate

        and, negate, or
    • Constructor Detail

      • ExtensionFileFilter

        protected ExtensionFileFilter​(java.lang.String fileExtension)
        Parameters:
        fileExtension - comma separated list of valid regular expressions
      • ExtensionFileFilter

        protected ExtensionFileFilter​(VString fileExtensionVector)
    • Method Detail

      • test

        public boolean test​(java.nio.file.Path checkFile)
        (non-Javadoc)
        Specified by:
        test in interface java.util.function.Predicate<java.nio.file.Path>
        See Also:
        FileFilter.accept(java.io.File)