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

Quick Search    Search Deep

com.flexstor.common.io.xfile.unc.filters
Class UncExtFilter  view UncExtFilter download UncExtFilter.java

java.lang.Object
  extended bycom.flexstor.common.io.xfile.unc.filters.UncExtFilter
All Implemented Interfaces:
com.flexstor.common.io.xfile.unc.UncFilenameFilter, com.flexstor.common.io.xfile.XFilenameFilterI

public class UncExtFilter
extends java.lang.Object
implements com.flexstor.common.io.xfile.unc.UncFilenameFilter

UNCXExtFilter 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
(package private)  boolean bHighPass
           
static int FILTER_HIGHPASS
           
static int FILTER_LOWPASS
           
(package private)  java.lang.String sExtension
           
 
Constructor Summary
UncExtFilter(java.lang.String sExtension)
           
 
Method Summary
 boolean accept(com.flexstor.common.io.xfile.FlexXFileI xfile, java.lang.String s)
           
 void setMode(int nMode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FILTER_LOWPASS

public static final int FILTER_LOWPASS
See Also:
Constant Field Values

FILTER_HIGHPASS

public static final int FILTER_HIGHPASS
See Also:
Constant Field Values

sExtension

java.lang.String sExtension

bHighPass

boolean bHighPass
Constructor Detail

UncExtFilter

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

setMode

public void setMode(int nMode)

accept

public boolean accept(com.flexstor.common.io.xfile.FlexXFileI xfile,
                      java.lang.String s)
Specified by:
accept in interface com.flexstor.common.io.xfile.XFilenameFilterI