org.apache.ftpserver.listing
Class VisibleFileFilter

java.lang.Object
  extended by org.apache.ftpserver.listing.VisibleFileFilter
All Implemented Interfaces:
FileFilter

public class VisibleFileFilter
extends java.lang.Object
implements FileFilter

Selects files that are visible


Constructor Summary
VisibleFileFilter()
          Default constructor
VisibleFileFilter(FileFilter wrappedFilter)
          Constructor with a wrapped filter, allows for chaining filters
 
Method Summary
 boolean accept(FileObject file)
          Decide if the FileObject should be selected
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VisibleFileFilter

public VisibleFileFilter()
Default constructor


VisibleFileFilter

public VisibleFileFilter(FileFilter wrappedFilter)
Constructor with a wrapped filter, allows for chaining filters

Parameters:
wrappedFilter - The FileFilter to wrap
Method Detail

accept

public boolean accept(FileObject file)
Description copied from interface: FileFilter
Decide if the FileObject should be selected

Specified by:
accept in interface FileFilter
Parameters:
file - The FileObject
Returns:
true if the FileObject was selected
See Also:
FileFilter.accept(FileObject)


Copyright © 2003-2008 The Apache Software Foundation. All Rights Reserved.