net.metanotion.io.gui
Class FileSystemViewAdapter
java.lang.Object
javax.swing.filechooser.FileSystemView
net.metanotion.io.gui.FileSystemViewAdapter
public final class FileSystemViewAdapter
- extends FileSystemView
Extension of FileSystemView to make a net.metanotion.io.FileSystem work
with a Swing File Chooser
| Methods inherited from class javax.swing.filechooser.FileSystemView |
createFileObject, createFileObject, createFileSystemRoot, getChild, getFiles, getFileSystemView, getParentDirectory, getSystemDisplayName, getSystemIcon, getSystemTypeDescription, isComputerNode, isDrive, isFileSystem, isFileSystemRoot, isFloppyDrive, isHiddenFile, isParent, isRoot, isTraversable |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileSystemViewAdapter
public FileSystemViewAdapter(FileSystem fs)
getRoots
public File[] getRoots()
- Overrides:
getRoots in class FileSystemView
createNewFolder
public File createNewFolder(File containingDir)
- Specified by:
createNewFolder in class FileSystemView
getDefaultDirectory
public File getDefaultDirectory()
- Overrides:
getDefaultDirectory in class FileSystemView
getHomeDirectory
public File getHomeDirectory()
- Overrides:
getHomeDirectory in class FileSystemView