|
[x]
Posted via EE Mobile
|
|
| Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again. |
|
|
|
|
Asked by ombli in Linux Programming, Unix Systems Programming, Java Native Interface (JNI)
Hi,
I need to detect if a file or directory is or is not a symbolic/soft link. There is not any File.isLink() function in the java.io.File class. I have read on the internet solutions like comparing the canonical path with the absolute class but they are market like "this work on most of cases but not all". Do you know which ones are those exceptions?
I can detect it by using JNI but I want my application to be platform independent. Any idea?
Thanks in advance.
Jorge.-
20091021-EE-VQP-81 - Hierarchy / EE_QW_3_20080625