if(file.isDirectory() && (file.list()).length == 0) {
// Directory is empty
}
----Original Message Follows----
From: "Michael Wang (IT)" <[EMAIL PROTECTED]>
Reply-To: "Ant Users List" <[email protected]>
To: "Ant Users List" <[email protected]>
Subject: handy way to check if a dir is empty or not
Date: Fri, 18 Feb 2005 09:17:28 -0500
is there a handy way to do this? thanks.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]