I was thinking more in the lines of Unix permissions (maybe wrong word for it) such as "777".

Thanks,

Joe

Richard O. Hammer wrote:

Joseph R. McVerry wrote:

Is there a way, in the java.io classes, to set file permissions when creating a flat file?


java.io.File has a setReadOnly() method.

java.io.RandomAccessFile must be constructed with String with specifies permissions.

... in case either of these will do what you need.



_______________________________________________
Juglist mailing list
[EMAIL PROTECTED]
http://trijug.org/mailman/listinfo/juglist_trijug.org




-- ----------- Joseph R. McVerry, President American Coders Ltd. POBox 97462 Raleigh, NC 27624 USA 919.846.2014 (voice/fax) http://www.americancoders.com Home Of OBOE - an EDI and EDI/XML Translator and xBaseJ - xBase Database Engine For Java



_______________________________________________
Juglist mailing list
[EMAIL PROTECTED]
http://trijug.org/mailman/listinfo/juglist_trijug.org

Reply via email to