edtFTPj/Free - Open-source FTP library for Java | Download


com.enterprisedt.net.ftp
Interface FTPProgressMonitorEx

All Superinterfaces:
FTPProgressMonitor

public interface FTPProgressMonitorEx
extends FTPProgressMonitor

Enhances FTPProgressMonitor to add notifications for start and completion of the transfer.

Version:
$Revision: 1.1 $
Author:
Bruce Blackshaw

Method Summary
 void transferComplete(TransferDirection direction, java.lang.String remoteFile)
          Notify that a transfer has completed
 void transferStarted(TransferDirection direction, java.lang.String remoteFile)
          Notify that a transfer has started
 
Methods inherited from interface com.enterprisedt.net.ftp.FTPProgressMonitor
bytesTransferred
 

Method Detail

transferStarted

void transferStarted(TransferDirection direction,
                     java.lang.String remoteFile)
Notify that a transfer has started

Parameters:
direction - the transfer direction
remoteFile - name of the remote file

transferComplete

void transferComplete(TransferDirection direction,
                      java.lang.String remoteFile)
Notify that a transfer has completed

Parameters:
direction - the transfer direction
remoteFile - name of the remote file


Copyright (c) 2001-2007 Enterprise Distributed Technologies Ltd. All Rights Reserved.