org.apache.commons.pipeline.stage
Interface FtpFileDownloadStage.Criterion

All Known Implementing Classes:
FtpFileDownloadStage.FileDateMatchCriterion, FtpFileDownloadStage.FileNameMatchCriterion
Enclosing class:
FtpFileDownloadStage

public static interface FtpFileDownloadStage.Criterion

This class is used to specify a criterion that the downloaded file must satisfy.


Method Summary
 boolean matches(org.apache.commons.net.ftp.FTPFile file)
          Interface defining matches for FTP file downloading.
 

Method Detail

matches

boolean matches(org.apache.commons.net.ftp.FTPFile file)
Interface defining matches for FTP file downloading. Those remote files that match the criterion will be downloaded.

Parameters:
file - file to compare criterion to
Returns:
true if the file meets the Criterion, false otherwise


Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.