Package org.pf4j.util

Class NameFileFilter

  • All Implemented Interfaces:
    java.io.FileFilter

    public class NameFileFilter
    extends java.lang.Object
    implements java.io.FileFilter
    Filter accepts any file with this name. The case of the filename is ignored.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String name  
    • Constructor Summary

      Constructors 
      Constructor Description
      NameFileFilter​(java.lang.String name)  
    • Method Summary

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

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

      • name

        private java.lang.String name
    • Constructor Detail

      • NameFileFilter

        public NameFileFilter​(java.lang.String name)
    • Method Detail

      • accept

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