Monday, September 29, 2008

enumerateDirectory recursively

I've just checked in a revision to org.icongarden.fileSystem.enumerateDirectory which takes one or two parameters. The first argument is the same as before, and the second optional argument is a boolean indicating whether the caller wishes the method to descend into child directories. If so, then each returned object whose property type has the value "directory" will have an additional property children whose value is an array of zero or more objects with the same set of properties as its parent.

No comments: