Lines Matching defs:directory

41  * An abstract representation of file and directory pathnames.
51 * directory, or <code>"\\\\"</code>&nbsp;for a Microsoft Windows UNC pathname, and
55 * The first name in an abstract pathname may be a directory name or, in the
57 * in an abstract pathname denotes a directory; the last name may denote
58 * either a directory or a file. The <em>empty</em> abstract pathname has no
78 * current user directory. This directory is named by the system property
79 * <code>user.dir</code>, and is typically the directory in which the Java
85 * Each directory's absolute pathname is an ancestor of any <tt>File</tt>
86 * object with an absolute abstract pathname which begins with the directory's
87 * absolute pathname. For example, the directory denoted by the abstract
88 * pathname <tt>"/usr"</tt> is an ancestor of the directory denoted by the
99 * denoting the root directory has the prefix <code>"/"</code> and an empty
112 * object such as a file or a directory. If it does denote such an object
284 parent abstract pathname as the current user directory. An empty parent
286 directory defined by the FileSystem.getDefaultParent method. On Unix
300 * a directory, and the <code>child</code> pathname string is taken to
301 * denote either a directory or a file. If the <code>child</code> pathname
306 * against a system-dependent default directory. Otherwise each pathname
343 * denote a directory, and the <code>child</code> pathname string is taken
344 * to denote either a directory or a file. If the <code>child</code>
349 * the result against a system-dependent default directory. Otherwise each
444 * Returns the name of the file or directory denoted by this abstract
449 * @return The name of the file or directory denoted by this abstract
461 * <code>null</code> if this pathname does not name a parent directory.
466 * the pathname does not name a parent directory.
468 * @return The pathname string of the parent directory named by this
485 * directory.
490 * the pathname does not name a parent directory.
492 * @return The abstract pathname of the parent directory named by this
538 * the pathname string of the current user directory, which is named by the
542 * user directory. On Microsoft Windows systems, a relative pathname is made absolute
543 * by resolving it against the current directory of the drive named by the
545 * directory.
548 * directory as this abstract pathname
564 * directory as this abstract pathname
588 * <p> Every pathname that denotes an existing file or directory has a
590 * or directory also has a unique canonical form. The canonical form of
591 * the pathname of a nonexistent file or directory may be different from
592 * the canonical form of the same pathname after the file or directory is
594 * file or directory may be different from the canonical form of the same
595 * pathname after the file or directory is deleted.
598 * directory as this abstract pathname
626 * directory as this abstract pathname
661 * the file denoted by this abstract pathname is a directory, then the
694 * directory, then the resulting URI will end with a slash.
794 * Tests whether the file or directory denoted by this abstract pathname
797 * @return <code>true</code> if and only if the file or directory denoted
803 * method denies read access to the file or directory
818 * directory.
821 * that the file is not a directory, or where several attributes of the
827 * abstract pathname exists <em>and</em> is a directory;
849 * file. A file is <em>normal</em> if it is not a directory and, in
850 * addition, satisfies other system-dependent criteria. Any non-directory
942 * The return value is unspecified if this pathname denotes a directory.
1010 * Deletes the file or directory denoted by this abstract pathname. If
1011 * this pathname denotes a directory, then the directory must be empty in
1019 * @return <code>true</code> if and only if the file or directory is
1039 * Requests that the file or directory denoted by this abstract
1043 * directory that is already registered for deletion has no effect.
1078 * directory denoted by this abstract pathname.
1080 * <p> If this abstract pathname does not denote a directory, then this
1082 * returned, one for each file or directory in the directory. Names
1083 * denoting the directory itself and the directory's parent directory are
1093 * open a directory and iterate over the names of the files in the directory.
1098 * directory denoted by this abstract pathname. The array will be
1099 * empty if the directory is empty. Returns {@code null} if
1100 * this abstract pathname does not denote a directory, or if an
1106 * the directory
1121 * directory denoted by this abstract pathname that satisfy the specified
1129 * file or directory in the directory that it denotes.
1135 * directory denoted by this abstract pathname that were accepted
1137 * directory is empty or if no names were accepted by the filter.
1139 * a directory, or if an I/O error occurs.
1144 * the directory
1164 * directory denoted by this abstract pathname.
1166 * <p> If this abstract pathname does not denote a directory, then this
1168 * is returned, one for each file or directory in the directory. Pathnames
1169 * denoting the directory itself and the directory's parent directory are
1175 * the same directory.
1183 * to open a directory and iterate over the names of the files in the
1184 * directory. This may use less resources when working with very large
1188 * directories in the directory denoted by this abstract pathname.
1189 * The array will be empty if the directory is empty. Returns
1191 * directory, or if an I/O error occurs.
1196 * the directory
1213 * directories in the directory denoted by this abstract pathname that
1221 * invoked on this abstract pathname and the name of a file or directory in
1222 * the directory that it denotes.
1228 * directories in the directory denoted by this abstract pathname.
1229 * The array will be empty if the directory is empty. Returns
1231 * directory, or if an I/O error occurs.
1236 * the directory
1253 * directories in the directory denoted by this abstract pathname that
1266 * directories in the directory denoted by this abstract pathname.
1267 * The array will be empty if the directory is empty. Returns
1269 * directory, or if an I/O error occurs.
1274 * the directory
1292 * Creates the directory named by this abstract pathname.
1294 * @return <code>true</code> if and only if the directory was
1300 * method does not permit the named directory to be created
1314 * Creates the directory named by this abstract pathname, including any
1319 * @return <code>true</code> if and only if the directory was created,
1327 * named directory and all necessary parent directories; or if
1330 * method does not permit the named directory and all necessary
1395 * Sets the last-modified time of the file or directory named by this
1433 * Marks the file or directory named by this abstract pathname so that
1435 * or directory is guaranteed not to change until it is either deleted or
1437 * directory may be deleted depends upon the underlying system.
1715 * {@code root} directory from which all other files in that file system
1716 * can be reached. Windows platforms, for example, have a root directory
1717 * for each active drive; UNIX platforms have a single root directory,
1741 * particular root directory, then that directory will not appear in the
1870 // temporary directory location
1897 * <p> Creates a new empty file in the specified directory, using the
1929 * <p> If the <code>directory</code> argument is <code>null</code> then the
1930 * system-dependent default temporary-file directory will be used. The
1931 * default temporary-file directory is specified by the system property
1937 * to have any effect upon the temporary directory used by this method.
1946 * @param directory The directory in which the file is to be created, or
1948 * directory is to be used
1966 File directory)
1974 File tmpdir = (directory != null) ? directory
1984 // don't reveal temporary directory location
1985 if (directory == null)
1993 * Creates an empty file in the default temporary-file directory, using
2002 * empty file in the temporary-file directory. Files created by that method
2062 * or directory as this abstract pathname. Whether or not two abstract
2161 * user directory.