Hi Etka,

may be changing the access rights on the file system level is an option?
java.io.File.setReadOnly is availible since jdk 1.0 (sorry, forgot the smile
for tongue in cheek).

HTH, greetings from Germany,
Stefan

> -----Ursprüngliche Nachricht-----
> Von:  Ekta Ojha [SMTP:[EMAIL PROTECTED]
> Gesendet am:  Mittwoch, 29. Juni 2005 20:27
> An:   poi-user@jakarta.apache.org
> Betreff:      Need to create an Excel file that is readonly
> 
> Hello Group,
> I tried to search hard but could not find anything meeting my requirement.
> Can anyone please help me out. Here is what I need.
> I hit the database, get some results and those results need to be
> displayed in an Excel file.
> I have already implemented this using usermodel API but with this API, the
> user gets a chance to modify the Excel file. I want to create an Excel
> file that is readonly and once that Excel file is created , no one can
> modify it.
> Can it be done using EventModel API. If so, where can i find some sample
> code to start with.
>  
> Thanks,
> Ekta
> 
>               
> ---------------------------------
> Discover Yahoo!
>  Stay in touch with email, IM, photo sharing & more. Check it out!

Reply via email to