src/java.base/share/classes/java/nio/file/Files.java
changeset 47496 66e2e3f62eb5
parent 47478 438e0c9f2f17
child 48353 315c690bb90b
equal deleted inserted replaced
47495:6278140a2d55 47496:66e2e3f62eb5
  2399      * symbolic links are followed. If the option {@link LinkOption#NOFOLLOW_LINKS
  2399      * symbolic links are followed. If the option {@link LinkOption#NOFOLLOW_LINKS
  2400      * NOFOLLOW_LINKS} is present then symbolic links are not followed.
  2400      * NOFOLLOW_LINKS} is present then symbolic links are not followed.
  2401      *
  2401      *
  2402      * <p> Note that the result of this method is immediately outdated. If this
  2402      * <p> Note that the result of this method is immediately outdated. If this
  2403      * method indicates the file exists then there is no guarantee that a
  2403      * method indicates the file exists then there is no guarantee that a
  2404      * subsequence access will succeed. Care should be taken when using this
  2404      * subsequent access will succeed. Care should be taken when using this
  2405      * method in security sensitive applications.
  2405      * method in security sensitive applications.
  2406      *
  2406      *
  2407      * @param   path
  2407      * @param   path
  2408      *          the path to the file to test
  2408      *          the path to the file to test
  2409      * @param   options
  2409      * @param   options
  2456      * <p> Note that this method is not the complement of the {@link #exists
  2456      * <p> Note that this method is not the complement of the {@link #exists
  2457      * exists} method. Where it is not possible to determine if a file exists
  2457      * exists} method. Where it is not possible to determine if a file exists
  2458      * or not then both methods return {@code false}. As with the {@code exists}
  2458      * or not then both methods return {@code false}. As with the {@code exists}
  2459      * method, the result of this method is immediately outdated. If this
  2459      * method, the result of this method is immediately outdated. If this
  2460      * method indicates the file does exist then there is no guarantee that a
  2460      * method indicates the file does exist then there is no guarantee that a
  2461      * subsequence attempt to create the file will succeed. Care should be taken
  2461      * subsequent attempt to create the file will succeed. Care should be taken
  2462      * when using this method in security sensitive applications.
  2462      * when using this method in security sensitive applications.
  2463      *
  2463      *
  2464      * @param   path
  2464      * @param   path
  2465      *          the path to the file to test
  2465      *          the path to the file to test
  2466      * @param   options
  2466      * @param   options