jcifs.smb
Class DosFileFilter

java.lang.Object
  |
  +--jcifs.smb.DosFileFilter
All Implemented Interfaces:
SmbFileFilter

public class DosFileFilter
extends java.lang.Object
implements SmbFileFilter


Field Summary
protected  int attributes
           
protected  java.lang.String wildcard
           
 
Constructor Summary
DosFileFilter(java.lang.String wildcard, int attributes)
           
 
Method Summary
 boolean accept(SmbFile file)
          This always returns true as the wildcard and attributes members are passed to the server which uses them to filter on behalf of the client.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

wildcard

protected java.lang.String wildcard

attributes

protected int attributes
Constructor Detail

DosFileFilter

public DosFileFilter(java.lang.String wildcard,
                     int attributes)
Method Detail

accept

public boolean accept(SmbFile file)
               throws SmbException
This always returns true as the wildcard and attributes members are passed to the server which uses them to filter on behalf of the client. Sub-classes might overload this method to further filter the list however.
Specified by:
accept in interface SmbFileFilter