class Files {

    public static boolean exists(final Path path,
                                 final LinkOption... options)
            throws IllegalArgumentException, SecurityException {
        checkNotNull("path",
                     path);

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

    private  Files();

}