On Fri, 10 Sep 2004, Chandrasekhar, Preetham wrote:

> Hi all,
> I was wondering if there is any utility in the jakarta that allows me to check/set 
> permissions and get these permissions?

java.io.File has some methods for this:
canRead()
canWrite()
setReadOnly()

http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html

> Also, is there any utility that unzips a zipped file. Ant has this functionality 
> inbuilt but other than ant is there any utility in the commons package?

You might look at java.util.zip for this:
http://java.sun.com/j2se/1.4.2/docs/api/java/util/zip/package-frame.html

HTH,
sv

> Thanks
> Preetham
>
> ---------------------------------------------------------------------
> 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]

Reply via email to