public static class LibDirs.LibDirFileSystemView
extends javax.swing.filechooser.FileSystemView
Constructor and Description |
---|
LibDirFileSystemView(javax.swing.filechooser.FileSystemView osView) |
Modifier and Type | Method and Description |
---|---|
java.io.File |
createFileObject(java.io.File dir,
java.lang.String filename) |
java.io.File |
createFileObject(java.lang.String path) |
protected java.io.File |
createFileSystemRoot(java.io.File f) |
java.io.File |
createNewFolder(java.io.File containingDir) |
java.io.File |
getChild(java.io.File parent,
java.lang.String fileName) |
java.io.File |
getDefaultDirectory() |
java.io.File[] |
getFiles(java.io.File dir,
boolean useFileHiding) |
java.io.File |
getHomeDirectory() |
java.io.File |
getParentDirectory(java.io.File dir) |
java.io.File[] |
getRoots() |
java.lang.String |
getSystemDisplayName(java.io.File f) |
javax.swing.Icon |
getSystemIcon(java.io.File f) |
java.lang.String |
getSystemTypeDescription(java.io.File f) |
boolean |
isComputerNode(java.io.File dir) |
boolean |
isDrive(java.io.File dir) |
boolean |
isFileSystem(java.io.File f) |
boolean |
isFileSystemRoot(java.io.File dir) |
boolean |
isFloppyDrive(java.io.File dir) |
boolean |
isHiddenFile(java.io.File f) |
boolean |
isLibFile(java.io.File f) |
boolean |
isParent(java.io.File folder,
java.io.File file) |
boolean |
isRoot(java.io.File f) |
java.lang.Boolean |
isTraversable(java.io.File f) |
public LibDirFileSystemView(javax.swing.filechooser.FileSystemView osView)
public java.io.File createFileObject(java.io.File dir, java.lang.String filename)
createFileObject
in class javax.swing.filechooser.FileSystemView
public java.io.File createFileObject(java.lang.String path)
createFileObject
in class javax.swing.filechooser.FileSystemView
protected java.io.File createFileSystemRoot(java.io.File f)
createFileSystemRoot
in class javax.swing.filechooser.FileSystemView
public java.io.File createNewFolder(java.io.File containingDir) throws java.io.IOException
createNewFolder
in class javax.swing.filechooser.FileSystemView
java.io.IOException
public java.io.File getChild(java.io.File parent, java.lang.String fileName)
getChild
in class javax.swing.filechooser.FileSystemView
public java.io.File getDefaultDirectory()
getDefaultDirectory
in class javax.swing.filechooser.FileSystemView
public java.io.File[] getFiles(java.io.File dir, boolean useFileHiding)
getFiles
in class javax.swing.filechooser.FileSystemView
public boolean isLibFile(java.io.File f)
public java.io.File getHomeDirectory()
getHomeDirectory
in class javax.swing.filechooser.FileSystemView
public java.io.File getParentDirectory(java.io.File dir)
getParentDirectory
in class javax.swing.filechooser.FileSystemView
public java.io.File[] getRoots()
getRoots
in class javax.swing.filechooser.FileSystemView
public java.lang.String getSystemDisplayName(java.io.File f)
getSystemDisplayName
in class javax.swing.filechooser.FileSystemView
public javax.swing.Icon getSystemIcon(java.io.File f)
getSystemIcon
in class javax.swing.filechooser.FileSystemView
public java.lang.String getSystemTypeDescription(java.io.File f)
getSystemTypeDescription
in class javax.swing.filechooser.FileSystemView
public boolean isComputerNode(java.io.File dir)
isComputerNode
in class javax.swing.filechooser.FileSystemView
public boolean isDrive(java.io.File dir)
isDrive
in class javax.swing.filechooser.FileSystemView
public boolean isFileSystem(java.io.File f)
isFileSystem
in class javax.swing.filechooser.FileSystemView
public boolean isFileSystemRoot(java.io.File dir)
isFileSystemRoot
in class javax.swing.filechooser.FileSystemView
public boolean isFloppyDrive(java.io.File dir)
isFloppyDrive
in class javax.swing.filechooser.FileSystemView
public boolean isHiddenFile(java.io.File f)
isHiddenFile
in class javax.swing.filechooser.FileSystemView
public boolean isParent(java.io.File folder, java.io.File file)
isParent
in class javax.swing.filechooser.FileSystemView
public boolean isRoot(java.io.File f)
isRoot
in class javax.swing.filechooser.FileSystemView
public java.lang.Boolean isTraversable(java.io.File f)
isTraversable
in class javax.swing.filechooser.FileSystemView