public int getRAMSize(RAMDirectory ramDir) throws
IOException
{
String []segs=ramDir.list();
int totalSize=0;
for(int i=0;i<segs.length;i++)
{
totalSize+=ramDir.fileLength(segs[i]);
}
return totalSize;
}
___________________________________________________________
Switch an email account to Yahoo! Mail, you could win FIFA World Cup tickets.
http://uk.mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]