Package org.pf4j.util
Class NameFileFilter
- java.lang.Object
-
- org.pf4j.util.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)
-