|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.filechooser.FileSystemView
net.sf.jpackit.ui.swing.RelativeFileSystemView
public class RelativeFileSystemView
RelativeFileSystemView is needed to restrict user to access filesystem upper than specified root folder.
Constructor Summary | |
---|---|
RelativeFileSystemView(java.io.File root)
Creates a new instance of RelativeFileSystemView |
Method Summary | |
---|---|
java.io.File |
createNewFolder(java.io.File file)
|
java.io.File[] |
getRoots()
|
Methods inherited from class javax.swing.filechooser.FileSystemView |
---|
createFileObject, createFileObject, createFileSystemRoot, getChild, getDefaultDirectory, getFiles, getFileSystemView, getHomeDirectory, 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 |
Constructor Detail |
---|
public RelativeFileSystemView(java.io.File root)
Method Detail |
---|
public java.io.File createNewFolder(java.io.File file) throws java.io.IOException
createNewFolder
in class javax.swing.filechooser.FileSystemView
java.io.IOException
public java.io.File[] getRoots()
getRoots
in class javax.swing.filechooser.FileSystemView
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |