Java Check a File is Symlink or Actual File using Apache Commons IO In this Java tutorial we learn how to use the method FileUtils.isSymlink() of Apache Commons IO to check whether a given File is a symlink rather than an actual file.