I've a directory on remote machine in which I have symbolic links pointing to actual files, and I am supposed to read the actual files given the symbolic link.
I can do it, if I can find the actual filePath
, which is pointed to by the Symbolic Link.
I know that if we were using Java 7 we could do it using NIO2's classes (namely Path
, Paths
and Files
), but we can't upgrade to JDK7 for several reasons.
The same thing I do not see in Java 6. What should be the work around for the same? I have already tried going through this but it didn't help.