Lines Matching defs:folder
126 * Examples: Windows 98 has one root, the Desktop folder. DOS has one root
165 * Name of a file, directory, or folder as it would be displayed in
202 * Type description for a file, directory, or folder as it would be displayed in
203 * a system file browser. Example from Windows: the "Desktop" folder
219 * Icon for a file, directory, or folder as it would be displayed in
255 * "Desktop" folder which is not the same as file.getParentFile().
257 * @param folder a <code>File</code> object repesenting a directory or special folder
259 * @return <code>true</code> if <code>folder</code> is a directory or special folder and contains <code>file</code>.
262 public boolean isParent(File folder, File file) {
263 if (folder == null || file == null) {
265 } else if (folder instanceof ShellFolder) {
267 if (parent != null && parent.equals(folder)) {
270 File[] children = getFiles(folder, false);
278 return folder.equals(file.getParentFile());
284 * @param parent a <code>File</code> object repesenting a directory or special folder
285 * @param fileName a name of a file or folder which exists in <code>parent</code>
307 * special folder such as <code>"Desktop"</code>. Used by UI classes to decide if
308 * a folder is selectable when doing directory choosing.
326 * Creates a new folder with a default folder name.
396 * Windows, this would be the "Desktop" folder, while on DOS this
425 * starting folder
615 * Creates a new folder with a default folder name.
622 // Unix - using OpenWindows' default folder name. Can't find one for Motif/CDE.
699 * Type description for a file, directory, or folder as it would be displayed in
700 * a system file browser. Example from Windows: the "Desktop" folder
718 * @return the Desktop folder.
725 * Creates a new folder with a default folder name.
731 // Using NT's default folder name
799 * Creates a new folder with a default folder name.
805 // Using NT's default folder name