get all absolute paths of files under a given folder
I need to hold in memory all absolute paths of file names under a given
directory.
myDirectory.list() - retrieves String[] of file names only (without their
absolute paths).
Don't want to use File Object since it consumes more memory.
Last thing - I can use apache collections etc. (but didn't find anything
useful for that).
No comments:
Post a Comment