Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.flexstor.common.io.xfile.filters
Class XExtFilter  view XExtFilter download XExtFilter.java

java.lang.Object
  extended bycom.flexstor.common.io.xfile.XFilenameFilter
      extended bycom.flexstor.common.io.xfile.filters.XExtFilter

public class XExtFilter
extends com.flexstor.common.io.xfile.XFilenameFilter

XExtFilter A FileNameFilter used to filter out files based on the given extension. (e.g. files ending with .cfg would be filtered by new ExtFilter("cfg") )


Field Summary
 java.lang.String sExtension
           
 
Constructor Summary
XExtFilter(java.lang.String sExtension)
           
 
Method Summary
 boolean accept(com.flexstor.common.io.xfile.FlexXFile dir, java.lang.String name)
           
 
Methods inherited from class com.flexstor.common.io.xfile.XFilenameFilter
getFilter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sExtension

public java.lang.String sExtension
Constructor Detail

XExtFilter

public XExtFilter(java.lang.String sExtension)
Method Detail

accept

public boolean accept(com.flexstor.common.io.xfile.FlexXFile dir,
                      java.lang.String name)