Class Todos |
---|
Rename this interface, as it is used by both FileSelector and FileVisitor. |
Method Todos |
---|
hasCapability(): Move this to another interface, so that set of capabilities can be queried. |
Method Todos |
---|
replicateFile(): Add options to indicate whether the caller is happy to deal with extra files being present locally (eg if the file has been replicated previously), or whether the caller expects only the selected files to be present. |
Class Todos |
---|
Chop this class up - move all the protected methods to several interfaces, so that structure and content can be separately overridden. |
Check caps in methods like getChildren(), etc, and give better error messages (eg 'this file type does not support listing children', vs 'this is not a folder') |
Method Todos |
---|
delete(): This will not fail if this is a non-empty folder. |
Class Todos |
---|
Extract subclass that overlays the children |
Method Todos |
---|
isAbsoluteLocalName(): Move this to a general file name parser interface. |
Class Todos |
---|
Implement set lastModified and get/set attribute |
Implement getOutputStream() |
Class Todos |
---|
Deal with case where dest file maps to a child of one of the source files |
Deal with case where dest file already exists and is incorrect type (not file, not a folder) |
Use visitors |
Add default excludes |
Allow selector, mapper, filters, etc to be specified. |
Handle source/dest directories as well |
Allow selector to be specified for choosing which dest files to sync |