public class FileStatistics
extends java.lang.Object
| Constructor and Description |
|---|
FileStatistics()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addClient(FTPClientInterface client)
Add a client to be used in calculating statistics
|
void |
clear()
Reset the statistics back to zero
|
int |
getDeleteCount()
Get the number of files deleted since the count was
reset
|
int |
getDownloadCount()
Get the number of files downloaded since the count was
reset
|
int |
getUploadCount()
Get the number of files uploaded since the count was
reset
|
public FileStatistics()
downloadCount - uploadCount - deleteCount - public void addClient(FTPClientInterface client)
client - extra clientpublic int getDownloadCount()
public int getUploadCount()
public int getDeleteCount()
public void clear()