public class SingleRootFileSystemView
extends javax.swing.filechooser.FileSystemView
Constructor and Description |
---|
SingleRootFileSystemView(java.io.File root)
Instantiates a new single root file system view.
|
Modifier and Type | Method and Description |
---|---|
java.io.File |
createNewFolder(java.io.File containingDir) |
java.io.File |
getDefaultDirectory() |
java.io.File |
getHomeDirectory() |
java.io.File[] |
getRoots() |
createFileObject, createFileObject, getChild, getFiles, getFileSystemView, getParentDirectory, getSystemDisplayName, getSystemIcon, getSystemTypeDescription, isComputerNode, isDrive, isFileSystem, isFileSystemRoot, isFloppyDrive, isHiddenFile, isParent, isRoot, isTraversable
public SingleRootFileSystemView(java.io.File root)
root
- the rootpublic java.io.File createNewFolder(java.io.File containingDir)
createNewFolder
in class javax.swing.filechooser.FileSystemView
public java.io.File getDefaultDirectory()
getDefaultDirectory
in class javax.swing.filechooser.FileSystemView
public java.io.File getHomeDirectory()
getHomeDirectory
in class javax.swing.filechooser.FileSystemView
public java.io.File[] getRoots()
getRoots
in class javax.swing.filechooser.FileSystemView