Located in compilation unit of javax.
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public File | createNewFolder(File containingDir)
Implements abstract javax. Creates a new folder with a default folder name. |
| public boolean | isComputerNode(File dir)
Overrides javax. Used by UI classes to decide whether to display a special icon for a computer node, e.g. "My Computer" or a network server. |
| public boolean | isDrive(File dir)
Overrides javax. Used by UI classes to decide whether to display a special icon for drives or partitions, e.g. a "hard disk" icon. |
| public boolean | isFileSystemRoot(File dir)
Overrides javax. Is dir the root of a tree in the file system, such as a drive or partition. |
| public boolean | isFloppyDrive(File dir)
Overrides javax. Used by UI classes to decide whether to display a special icon for a floppy disk. |
| UnixFileSystemView | back to summary |
|---|---|
| pack-priv UnixFileSystemView() | |
| createNewFolder | back to summary |
|---|---|
| public File createNewFolder(File containingDir) throws IOException Implements abstract javax. Creates a new folder with a default folder name.
| |
| isComputerNode | back to summary |
|---|---|
| public boolean isComputerNode(File dir) Overrides javax. Doc from javax. Used by UI classes to decide whether to display a special icon for a computer node, e.g. "My Computer" or a network server. The default implementation has no way of knowing, so always returns false. | |
| isDrive | back to summary |
|---|---|
| public boolean isDrive(File dir) Overrides javax. Doc from javax. Used by UI classes to decide whether to display a special icon for drives or partitions, e.g. a "hard disk" icon. The default implementation has no way of knowing, so always returns false. | |
| isFileSystemRoot | back to summary |
|---|---|
| public boolean isFileSystemRoot(File dir) Overrides javax. Doc from javax. Is dir the root of a tree in the file system, such as a drive or partition. Example: Returns true for "C:\" on Windows 98. | |
| isFloppyDrive | back to summary |
|---|---|
| public boolean isFloppyDrive(File dir) Overrides javax. Doc from javax. Used by UI classes to decide whether to display a special icon for a floppy disk. Implies isDrive(dir). The default implementation has no way of knowing, so always returns false. | |