public class DirectoryRestrictedFileSystemView
extends javax.swing.filechooser.FileSystemView
Constructor and Description |
---|
DirectoryRestrictedFileSystemView(java.io.File rootDirectory) |
DirectoryRestrictedFileSystemView(java.io.File[] rootDirectories) |
Modifier and Type | Method and Description |
---|---|
java.io.File |
createNewFolder(java.io.File folder) |
java.io.File |
getHomeDirectory() |
java.io.File[] |
getRoots() |
boolean |
isRoot(java.io.File file) |
createFileObject, createFileObject, createFileSystemRoot, getChild, getDefaultDirectory, getFiles, getFileSystemView, getParentDirectory, getSystemDisplayName, getSystemIcon, getSystemTypeDescription, isComputerNode, isDrive, isFileSystem, isFileSystemRoot, isFloppyDrive, isHiddenFile, isParent, isTraversable
public DirectoryRestrictedFileSystemView(java.io.File rootDirectory)
public DirectoryRestrictedFileSystemView(java.io.File[] rootDirectories)
public java.io.File getHomeDirectory()
getHomeDirectory
in class javax.swing.filechooser.FileSystemView
public java.io.File[] getRoots()
getRoots
in class javax.swing.filechooser.FileSystemView
public boolean isRoot(java.io.File file)
isRoot
in class javax.swing.filechooser.FileSystemView
public java.io.File createNewFolder(java.io.File folder) throws java.io.IOException
createNewFolder
in class javax.swing.filechooser.FileSystemView
java.io.IOException