Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Can one set the File Permissions in Java
- From: marijn@xxxxxxxxxxxxxxxxxxxxx (Marijn H. van der Ploeg)
- Subject: Can one set the File Permissions in Java
- Date: Fri, 31 Mar 2000 10:32:05 +0200
Hi, Look in java.io.File, where you will find method setReadOnly(). Cheers, Marijn ----- Original Message ----- From: Bramhall, Walter <walter.bramhall@xxxxxxxx> To: <advanced-java@xxxxxxxxxxxxxxxx> Sent: Thursday, March 30, 2000 5:16 PM Subject: Can one set the File Permissions in Java > I am creating an application that requires a Log file, that should Not be > Delete-able by the client. I can not see how to set this file as Read-Only, > or even Hidden. My Application is only required to run on Win32, so a Native > solution is not out of the question (although undesirable). > Thank you for any help provided. > Live Long & Prosper, > wlb > > ) > ( ( > ) ) ( > ( ( ) ) > ) ) ( ( > ____________ > \ /\ > \ JAVA /\/ > __\______/__ > ------------ > Walter Bramhall - Java Engineer > LSI Logic - Storage Division > 316-636-8495 > Walter.Bramhall@xxxxxxxx > > > --- > To unsubscribe, mail advanced-java-unsubscribe@xxxxxxxxxxxxxxxx > To get help, mail advanced-java-help@xxxxxxxxxxxxxxxx > > --- To unsubscribe, mail advanced-java-unsubscribe@xxxxxxxxxxxxxxxx To get help, mail advanced-java-help@xxxxxxxxxxxxxxxx
- References:
- Can one set the File Permissions in Java
- From: Bramhall, Walter
- Can one set the File Permissions in Java
- Prev by Date: swing question
- Next by Date: c = c++ problem
- Previous by thread: Can one set the File Permissions in Java
- Next by thread: Can one set the File Permissions in Java
- Index(es):