| |
Hi. I've been in this community for a while, but have never posted. I'm just learning java this year in school, so basically i'm a newbie.
I'm writing a program (for fun, not for school) that will take my AIM history and use it to make an HTML file that lists statistically who i chat with most, blah blah. (Yea kinda lame, i know) Now every person i talk with has their own directory in my AIM history directory, and i wanted to take the easy way out and just use the length method of the File class on each directory to determine its size. But this of course does not work. I was curious as to if there is any way to determine the size of the contents of a directory (some method that i just am not seeing for whatever reason) without actually going into the directory and finding the size of each item separately and combining them to get the total size (although i imagine this is how any such method would do that anyway).
Okay, thanks! |