import java.nio.file.Files; sbool isSymLink(File f) { ret f != null && Files.isSymbolicLink(toPath(f)); }