Class IO.SafeFileFilter

  • All Implemented Interfaces:
    java.io.FileFilter
    Enclosing class:
    IO

    public static class IO.SafeFileFilter
    extends java.lang.Object
    implements java.io.FileFilter
    A FileFilter for obtaining a list of contents that does not contain the special . and .. entries that some JVM environments report.
    • Constructor Summary

      Constructors 
      Constructor Description
      SafeFileFilter()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean accept​(java.io.File path)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SafeFileFilter

        public SafeFileFilter()
    • Method Detail

      • accept

        public boolean accept​(java.io.File path)
        Specified by:
        accept in interface java.io.FileFilter