01: /**
02: *
03: * Copyright (C) 2000-2003 Enterprise Distributed Technologies Ltd
04: *
05: * www.enterprisedt.com
06: *
07: * This library is free software; you can redistribute it and/or
08: * modify it under the terms of the GNU Lesser General Public
09: * License as published by the Free Software Foundation; either
10: * version 2.1 of the License, or (at your option) any later version.
11: *
12: * This library is distributed in the hope that it will be useful,
13: * but WITHOUT ANY WARRANTY; without even the implied warranty of
14: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15: * Lesser General Public License for more details.
16: *
17: * You should have received a copy of the GNU Lesser General Public
18: * License along with this library; if not, write to the Free Software
19: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20: *
21: * Bug fixes, suggestions and comments should be should posted on
22: * http://www.enterprisedt.com/forums/index.php
23: *
24: * Change Log:
25: *
26: * $Log: FTPProgressMonitor.java,v $
27: * Revision 1.2 2005/06/03 11:26:25 bruceb
28: * comment change
29: *
30: * Revision 1.1 2003/11/03 21:19:09 bruceb
31: * progress callback
32: *
33: *
34: */package com.enterprisedt.net.ftp;
35:
36: /**
37: * Allows the reporting of progress of the
38: * transfer of data
39: *
40: * @author Bruce Blackshaw
41: * @version $Revision: 1.2 $
42: */
43: public interface FTPProgressMonitor {
44:
45: /**
46: * Report the number of bytes transferred so far. This may
47: * not be entirely accurate for transferring text files in ASCII
48: * mode, as new line representations can be represented differently
49: * on different platforms.
50: *
51: * @param count count of bytes transferred
52: */
53: public void bytesTransferred(long count);
54: }
|