wt.security
Class WTFileSystemView
java.lang.Object
javax.swing.filechooser.FileSystemView
wt.security.WTFileSystemView
- public class WTFileSystemView
- extends FileSystemView
Nested classes inherited from class javax.swing.filechooser.FileSystemView |
|
Methods inherited from class javax.swing.filechooser.FileSystemView |
createFileObject, createFileSystemRoot, getChild, getDefaultDirectory, getSystemDisplayName, getSystemIcon, getSystemTypeDescription, isComputerNode, isDrive, isFileSystem, isFileSystemRoot, isFloppyDrive, isParent, isTraversable |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
wrappedView
private final FileSystemView wrappedView
fa
private FileAccess fa
WTFileSystemView
public WTFileSystemView()
WTFileSystemView
public WTFileSystemView(FileSystemView wrappedView,
FileAccess fa)
getFileSystemView
public static FileSystemView getFileSystemView()
isRoot
public boolean isRoot(File f)
createNewFolder
public File createNewFolder(File containingDir)
throws IOException
- Throws:
IOException
isHiddenFile
public boolean isHiddenFile(File f)
getRoots
public File[] getRoots()
getHomeDirectory
public File getHomeDirectory()
createFileObject
public File createFileObject(File dir,
String filename)
getFiles
public File[] getFiles(File dir,
boolean useFileHiding)
getParentDirectory
public File getParentDirectory(File dir)