org.apache.ftpserver.interfaces
Interface FileObserver


public interface FileObserver

This is the file related activity observer.


Method Summary
 void notifyDelete(FtpIoSession session, FileObject file)
          User file delete notification.
 void notifyDownload(FtpIoSession session, FileObject file, long size)
          User file download notification.
 void notifyMkdir(FtpIoSession session, FileObject file)
          User make directory notification.
 void notifyRmdir(FtpIoSession session, FileObject file)
          User remove directory notification.
 void notifyUpload(FtpIoSession session, FileObject file, long size)
          User file upload notification.
 

Method Detail

notifyUpload

void notifyUpload(FtpIoSession session,
                  FileObject file,
                  long size)
User file upload notification.


notifyDownload

void notifyDownload(FtpIoSession session,
                    FileObject file,
                    long size)
User file download notification.


notifyDelete

void notifyDelete(FtpIoSession session,
                  FileObject file)
User file delete notification.


notifyMkdir

void notifyMkdir(FtpIoSession session,
                 FileObject file)
User make directory notification.


notifyRmdir

void notifyRmdir(FtpIoSession session,
                 FileObject file)
User remove directory notification.



Copyright © 2003-2008 The Apache Software Foundation. All Rights Reserved.