class Files {

    public static boolean isSymbolicLink(final Path path)
            throws IllegalArgumentException, SecurityException {
        checkNotNull("path",
                     path);

        try {
            return readAttributes(path,
                                  BasicFileAttributes.class,
                                  LinkOption.NOFOLLOW_LINKS).isSymbolicLink();
        } catch (Exception ioe) {
        }
        return false;
    }

    private  Files();

}