Java - determining if a file is a link

How do you do this, or is it even possible?

I suppose you could play with getCanonicalWhatever and the original way, but it's messy and I don't like it. Please indicate the final reason if you propose it.

+4
source share
1 answer

See the article How to work with file system links / symbolic links in Java

In short, wait for Java 7 or make a small JNI method

+5
source

All Articles