Located in compilation unit of javax.
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public File | createFileObject(String path)
Overrides javax. Returns a File object constructed from the given path string. |
| protected File | createFileSystemRoot(File f)
Overrides javax. Creates a new |
| public File | createNewFolder(File containingDir)
Implements abstract javax. Creates a new folder with a default folder name. |
| public File | getChild(File parent, String fileName)
Overrides javax. Returns a |
| public File | Returns: the Desktop folder.Overrides javax. Returns the home directory. |
| public String | getSystemTypeDescription(File f)
Overrides javax. Type description for a file, directory, or folder as it would be displayed in a system file browser. |
| 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 | isFloppyDrive(final File dir)
Overrides javax. Used by UI classes to decide whether to display a special icon for a floppy disk. |
| public Boolean | isTraversable(File f)
Overrides javax. Returns true if the file (directory) can be visited. |
| WindowsFileSystemView | back to summary |
|---|---|
| pack-priv WindowsFileSystemView() | |
| createFileObject | back to summary |
|---|---|
| public File createFileObject(String path) Overrides javax. Returns a File object constructed from the given path string. | |
| createFileSystemRoot | back to summary |
|---|---|
| protected File createFileSystemRoot(File f) Overrides javax. Doc from javax. Creates a new | |
| createNewFolder | back to summary |
|---|---|
| public File createNewFolder(File containingDir) throws IOException Implements abstract javax. Creates a new folder with a default folder name.
| |
| getChild | back to summary |
|---|---|
| public File getChild(File parent, String fileName) Overrides javax. Doc from javax. Returns a | |
| getHomeDirectory | back to summary |
|---|---|
| public File getHomeDirectory() Overrides javax. Doc from javax. Returns the home directory.
| |
| getSystemTypeDescription | back to summary |
|---|---|
| public String getSystemTypeDescription(File f) Overrides javax. Type description for a file, directory, or folder as it would be displayed in a system file browser. Example from Windows: the "Desktop" folder is described as "Desktop". The Windows implementation gets information from the ShellFolder class. | |
| 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. | |
| isFloppyDrive | back to summary |
|---|---|
| public boolean isFloppyDrive(final 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. | |
| isTraversable | back to summary |
|---|---|
| public Boolean isTraversable(File f) Overrides javax. Doc from javax. Returns true if the file (directory) can be visited. Returns false if the directory cannot be traversed. | |