Package io.microsphere.io.filter
Class NameFileFilter
- java.lang.Object
-
- io.microsphere.io.filter.NameFileFilter
-
- All Implemented Interfaces:
IOFileFilter,java.io.FileFilter,java.io.FilenameFilter
public class NameFileFilter extends java.lang.Object implements IOFileFilter
Filters filenames for a certain name.- Since:
- 1.0.0
- Author:
- Mercy
- See Also:
IOFileFilter
-
-
Constructor Summary
Constructors Constructor Description NameFileFilter(java.lang.String name)NameFileFilter(java.lang.String name, boolean caseSensitive)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaccept(java.io.File file)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.microsphere.io.filter.IOFileFilter
accept
-
-
-
-
Method Detail
-
accept
public boolean accept(java.io.File file)
- Specified by:
acceptin interfacejava.io.FileFilter- Specified by:
acceptin interfaceIOFileFilter
-
-