com.dynamide.util
Interface IFileDiverListener
- All Known Implementing Classes:
- Assembly, FileTools
public interface IFileDiverListener
Implement this interface to listen to callbacks generated by FileTools.directoryDiver
Method Summary |
boolean |
onDirectory(java.lang.String diveID,
java.io.File directory,
java.lang.String dirname,
java.lang.String relativePath)
|
void |
onFile(java.lang.String diveID,
java.io.File directory,
java.io.File file,
java.lang.String filename,
java.lang.String relativePath)
|
onFile
void onFile(java.lang.String diveID,
java.io.File directory,
java.io.File file,
java.lang.String filename,
java.lang.String relativePath)
- Parameters:
diveID
- This identifies the callback so that you know which thing you are doing if you use the
callback interface for two tasks within one class, or within multiple threads.- See Also:
FileTools.directoryDiver(java.lang.String, java.lang.String, com.dynamide.util.IFileDiverListener)
onDirectory
boolean onDirectory(java.lang.String diveID,
java.io.File directory,
java.lang.String dirname,
java.lang.String relativePath)
- Parameters:
diveID
- This identifies the callback so that you know which thing you are doing if you use the
callback interface for two tasks within one class, or within multiple threads.
- Returns:
- true if you wish to continue diving INTO the named directory, otherwise
return false to skip the contents of the named directory.
- See Also:
FileTools.directoryDiver(java.lang.String, java.lang.String, com.dynamide.util.IFileDiverListener)
Copyright © 2001-2013 DYNAMIDE.COM. All Rights Reserved.