Lines Matching defs:exists

126      * regular-file} to a size of {@code 0} if it exists.
142 * // always create new file, failing if it already exists
209 * the file already exists or is a symbolic link. When creating a file the
217 * exists, otherwise a new file is created. This option is ignored if the
292 * if a file of that name already exists and the {@link
338 * if a file of that name already exists and the {@link
549 * Creates a new and empty file, failing if the file already exists. The
572 * if a file of that name already exists
617 * that name already exists <i>(optional specific exception)</i>
636 * exists.
660 * if {@code dir} exists but is not a directory <i>(optional specific
684 // file exists and is not a directory
696 // find a decendent that exists
725 * if the directory already exists.
980 * if a file with the name already exists <i>(optional specific
1026 * that name already exists <i>(optional specific exception)</i>
1081 * Deletes a file if it exists.
1126 * copy fails if the target file already exists or is a symbolic link,
1143 * <td> If the target file exists, then the target file is replaced if it
1144 * is not a non-empty directory. If the target file exists and is a
1174 * {@code REPLACE_EXISTING} option is specified and the target file exists,
1201 * if the target file exists but cannot be replaced because the
1237 * file, failing if the target file exists except if the source and
1261 * <td> If the target file exists, then the target file is replaced if it
1262 * is not a non-empty directory. If the target file exists and is a
1269 * other options are ignored. If the target file exists then it is
1321 * if the target file exists but cannot be replaced because the
1418 * then this method returns {@code true} without checking if the file exists.
2296 * Tests whether a file exists.
2304 * method indicates the file exists then there is no guarantee that a
2313 * @return {@code true} if the file exists; {@code false} if the file does
2323 public static boolean exists(Path path, LinkOption... options) {
2332 // file exists
2335 // does not exist or unable to determine if file exists
2351 * <p> Note that this method is not the complement of the {@link #exists
2352 * exists} method. Where it is not possible to determine if a file exists
2353 * or not then both methods return {@code false}. As with the {@code exists}
2365 * file exists or its existence cannot be determined
2381 // file exists
2404 * Tests whether a file is readable. This method checks that a file exists
2420 * @return {@code true} if the file exists and is readable; {@code false}
2435 * Tests whether a file is writable. This method checks that a file exists
2451 * @return {@code true} if the file exists and is writable; {@code false}
2466 * Tests whether a file is executable. This method checks that a file exists
2486 * @return {@code true} if the file exists and is executable; {@code false}
2689 * a size of {@code 0} if it exists.
2744 * <p> By default, the copy fails if the target file already exists or is a
2746 * REPLACE_EXISTING} option is specified, and the target file already exists,
2748 * file exists and is a symbolic link, then the symbolic link is replaced.
2788 * if the target file exists but cannot be replaced because the