João Augusto Charnet wrote: > Hello, > I'm using Fileset to search through a series o files of the same > extension (say *.jsf). I'd like to know if file set does a depth > search, ou a width search through out the directories. > Example: > Let's say I have the following directory structure: > ... > |BaseDir > | | > | |Dir1 > | | > | |File1.jsf > | |File2.jsf > | |Dir2 > | | > | |File3.jsf > | > |File4.jsf > |File4.jsf > > What order would it return my files ? > File1, File2, File3, File4, File5 ? > Or > File4, File5, File1, File2, File3 ? > > Thanks a lot. > John.
The javadoc says that the order is not determined. The current implementation would rather deliver the first option, but you should not rely on it. Cheers, Antoine --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]