Interface TransferListener
- All Known Implementing Classes:
AbstractTransferListener
public interface TransferListener
- Since:
- 4.1.14, 4.0.136
-
Method Summary
Modifier and TypeMethodDescriptionvoid
afterDelete
(CRCSession session, String path) Called after deleting a file.void
afterDownload
(CRCSession session, String path) Called after downloading a file.void
afterExists
(CRCSession session, String path) Called after checking if a file exists.void
afterGetFile
(CRCSession session, String path) Called after getting file info.void
afterListFiles
(CRCSession session, String path) Called after listing directory contends.void
afterMkdir
(CRCSession session, String path) Called after creating a directory.void
afterRename
(CRCSession session, String oldPath, String newPath) Called after renaming a file.void
afterSwitch
(CRCSession session, String oldPath, String newPath) Called after switching two paths.void
afterTouch
(CRCSession session, String path, long time) Called after touching a file.void
afterUpload
(CRCSession session, String path, boolean append) Called after uploading a file.void
beforeDelete
(CRCSession session, String path) Called before deleting a file.void
beforeDownload
(CRCSession session, String path) Called before downloading a file.void
beforeExists
(CRCSession session, String path) Called before checking if a file exists.void
beforeGetFile
(CRCSession session, String path) Called before getting file info.void
beforeListFiles
(CRCSession session, String path) Called before listing directory contends.void
beforeMkdir
(CRCSession session, String path) Called before creating a directory.void
beforeRename
(CRCSession session, String oldPath, String newPath) Called before renaming a file.void
beforeSwitch
(CRCSession session, String oldPath, String newPath) Called before switching two paths.void
beforeTouch
(CRCSession session, String path, long time) Called before touching a file.void
beforeUpload
(CRCSession session, String path, boolean append) Called before uploading a file.
-
Method Details
-
beforeListFiles
Called before listing directory contends.- Since:
- 4.1.14, 4.0.136
-
afterListFiles
Called after listing directory contends.- Since:
- 4.1.14, 4.0.136
-
beforeGetFile
Called before getting file info.- Since:
- 4.1.14, 4.0.136
-
afterGetFile
Called after getting file info.- Since:
- 4.1.14, 4.0.136
-
beforeUpload
Called before uploading a file.- Since:
- 4.1.14, 4.0.136
-
afterUpload
Called after uploading a file.- Since:
- 4.1.14, 4.0.136
-
beforeDownload
Called before downloading a file.- Since:
- 4.1.14, 4.0.136
-
afterDownload
Called after downloading a file.- Since:
- 4.1.14, 4.0.136
-
beforeDelete
Called before deleting a file.- Since:
- 4.1.14, 4.0.136
-
afterDelete
Called after deleting a file.- Since:
- 4.1.14, 4.0.136
-
beforeExists
Called before checking if a file exists.- Since:
- 4.1.14, 4.0.136
-
afterExists
Called after checking if a file exists.- Since:
- 4.1.14, 4.0.136
-
beforeRename
Called before renaming a file.- Since:
- 4.1.14, 4.0.136
-
afterRename
Called after renaming a file.- Since:
- 4.1.14, 4.0.136
-
beforeTouch
Called before touching a file.- Since:
- 4.1.14, 4.0.136
-
afterTouch
Called after touching a file.- Since:
- 4.1.14, 4.0.136
-
beforeSwitch
Called before switching two paths.- Since:
- 4.1.14, 4.0.136
-
afterSwitch
Called after switching two paths.- Since:
- 4.1.14, 4.0.136
-
beforeMkdir
Called before creating a directory.- Since:
- 4.1.14, 4.0.136
-
afterMkdir
Called after creating a directory.- Since:
- 4.1.14, 4.0.136
-