org.apache.ftpserver.command.impl.listing
Class VisibleFileFilter

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

public class VisibleFileFilter
extends Object
implements FileFilter

Internal class, do not use directly. Selects files that are visible

Author:
Apache MINA Project

Constructor Summary
VisibleFileFilter()
          Default constructor
VisibleFileFilter(FileFilter wrappedFilter)
          Constructor with a wrapped filter, allows for chaining filters
 
Method Summary
 boolean accept(FtpFile file)
          Decide if the FtpFile 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(FtpFile file)
Description copied from interface: FileFilter
Decide if the FtpFile should be selected

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


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.