class WindowsAltFileSystemView
extends javax.swing.filechooser.FileSystemView
Modifier and Type | Class and Description |
---|---|
(package private) static class |
WindowsAltFileSystemView.FileSystemRoot |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
EXCEPTION_CONTAINING_DIR_NULL |
static java.lang.String |
EXCEPTION_DIRECTORY_ALREADY_EXISTS |
static java.lang.String |
FLOPPY_DRIVE |
static java.lang.String |
NEW_FOLDER_NAME |
Constructor and Description |
---|
WindowsAltFileSystemView() |
Modifier and Type | Method and Description |
---|---|
java.io.File |
createNewFolder(java.io.File containingDir)
creates a new folder with a default folder name.
|
java.io.File[] |
getRoots()
Returns all root partitians on this system.
|
boolean |
isHiddenFile(java.io.File f)
Returns whether a file is hidden or not.
|
boolean |
isRoot(java.io.File f)
Returns true if the given file is a root.
|
createFileObject, createFileObject, createFileSystemRoot, getChild, getDefaultDirectory, getFiles, getFileSystemView, getHomeDirectory, getParentDirectory, getSystemDisplayName, getSystemIcon, getSystemTypeDescription, isComputerNode, isDrive, isFileSystem, isFileSystemRoot, isFloppyDrive, isParent, isTraversable
public static final java.lang.String EXCEPTION_CONTAINING_DIR_NULL
public static final java.lang.String EXCEPTION_DIRECTORY_ALREADY_EXISTS
public static final java.lang.String NEW_FOLDER_NAME
public static final java.lang.String FLOPPY_DRIVE
public boolean isRoot(java.io.File f)
isRoot
in class javax.swing.filechooser.FileSystemView
public java.io.File createNewFolder(java.io.File containingDir) throws java.io.IOException
createNewFolder
in class javax.swing.filechooser.FileSystemView
java.io.IOException
public boolean isHiddenFile(java.io.File f)
isHiddenFile
in class javax.swing.filechooser.FileSystemView
public java.io.File[] getRoots()
getRoots
in class javax.swing.filechooser.FileSystemView