|
OK I guess my other version of eclipse was old....
runs.... not sure if it completes but it does not error.. LoL.
Sorry for the issues I should have been on the latest version, didn't relize how dependent it might be. Learning alot YAY!
now for the questions and insanity check......LoL.
----
Let me see if I understand what you are doing.
Order of Operation not order of code...
you define the getFolders method
create a memory space
create a memory space for FileFilter
redefining what FileFilter sees by Overriding accept to only directories? (meaning only allow folders, don't care about files)
check if directory
return true or false (accept the result or don't show it)
then store directories (if true) in array (because FileFilter only allows Folders, thats all you have)
now that you have the method getFolders
use the iterate method to execute
create a memory space using a array for getFolders method
loop array to get next item
print line to screen
get folders for current folder
then remove current
Looks like this works in a small area and in large areas memory would fill up(???). Could you combine these steps and make it just hold the next item (or manual counters in a for loop) and not store in array or does it have to use array?
Last edited by MattStone : 12-13-2007 at 05:27 PM.
|