java.lang.Object
com.flexstor.common.io.file.filters.ExtensionFilter
- All Implemented Interfaces:
- java.io.FilenameFilter
- public class ExtensionFilter
- extends java.lang.Object
- implements java.io.FilenameFilter
|
Method Summary |
boolean |
accept(java.io.File file,
java.lang.String sFileName)
This method determines whether or not a given file should be included
in a directory listing. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sExtension
java.lang.String sExtension
bInclude
boolean bInclude
ExtensionFilter
public ExtensionFilter(java.lang.String sExtension,
boolean bInclude)
accept
public boolean accept(java.io.File file,
java.lang.String sFileName)
- Description copied from interface:
java.io.FilenameFilter
- This method determines whether or not a given file should be included
in a directory listing.
- Specified by:
accept in interface java.io.FilenameFilter