wt.security
Class WTFileSystemView

java.lang.Object
  extended byjavax.swing.filechooser.FileSystemView
      extended bywt.security.WTFileSystemView

public class WTFileSystemView
extends FileSystemView


Nested Class Summary
 
Nested classes inherited from class javax.swing.filechooser.FileSystemView
 
Field Summary
private  FileAccess fa
           
private  FileSystemView wrappedView
           
 
Fields inherited from class javax.swing.filechooser.FileSystemView
 
Constructor Summary
WTFileSystemView()
           
WTFileSystemView(FileSystemView wrappedView, FileAccess fa)
           
 
Method Summary
 File createFileObject(File dir, String filename)
           
 File createNewFolder(File containingDir)
           
 File[] getFiles(File dir, boolean useFileHiding)
           
static FileSystemView getFileSystemView()
           
 File getHomeDirectory()
           
 File getParentDirectory(File dir)
           
 File[] getRoots()
           
 boolean isHiddenFile(File f)
           
 boolean isRoot(File f)
           
 
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
 

Field Detail

wrappedView

private final FileSystemView wrappedView

fa

private FileAccess fa
Constructor Detail

WTFileSystemView

public WTFileSystemView()

WTFileSystemView

public WTFileSystemView(FileSystemView wrappedView,
                        FileAccess fa)
Method Detail

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)