We talk about java 1.6 here. Since symoblic link is not yet supported, how can examine the existence of them.
1: tell wheather the link file itself exists (return true even if the link is broken)
2: follow the link and tell wheather underlying file exists.
Is there really no way to realize this except JNI?
looks that way for now... unless you go with openjdk http://openjdk.java.net/projects/nio/javadoc/java/nio/file/attribute/BasicFileAttributes.html#isSymbolicLink()
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With