Re: Dealing with UNIX Sym Links
Posted By:
Charles_Morgan
Posted On:
Tuesday, May 15, 2001 05:52 AM
Actually, it 's fairly easy!! If you create a File object for the file
or directory you are wanting to check and then test to see
if the methods getPath() and getCanonicalPath() return the
same stuff. the method getCanonicalPath() will give you the
location of the real file whereas getPath() just returns the
path you used to create the File Object.
Re: Dealing with UNIX Sym Links
Posted By:
AlessandroA_Garbagnati
Posted On:
Thursday, May 10, 2001 03:42 PM
Hi,
I'm afraid you can't. The symbolic link it's something controlled on the OS level, and it's fully transpaernt to the user.