org.fuin.utils4swing.progress
Interface FileCopyProgressListener

All Known Implementing Classes:
FileCopyProgressMonitor

public interface FileCopyProgressListener

Gets informed about file copy progress.


Method Summary
 void updateByte(int n)
          Updates the current byte number of the file transferred.
 void updateFile(String sourceFile, String destFile, int fileNo, int fileSize)
          A new file transfer started.
 

Method Detail

updateFile

void updateFile(String sourceFile,
                String destFile,
                int fileNo,
                int fileSize)
A new file transfer started.

Parameters:
sourceFile - Name and path of the source file.
destFile - Name and path of the destination file.
fileNo - Number of the current file.
fileSize - Size of the file.

updateByte

void updateByte(int n)
Updates the current byte number of the file transferred.

Parameters:
n - Byte number.


Copyright © 2011 Future Invent Informationsmanagement GmbH. All Rights Reserved.