public abstract class AbstractVFSFileView extends Object
| Constructor and Description |
|---|
AbstractVFSFileView() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription(org.apache.commons.vfs2.FileObject f)
A human readable description of the file.
|
Icon |
getIcon(org.apache.commons.vfs2.FileObject f)
The icon that represents this file in the
JFileChooser. |
String |
getName(org.apache.commons.vfs2.FileObject f)
The name of the file.
|
String |
getTypeDescription(org.apache.commons.vfs2.FileObject f)
A human readable description of the type of the file.
|
Boolean |
isTraversable(org.apache.commons.vfs2.FileObject f)
Whether the directory is traversable or not.
|
public String getName(org.apache.commons.vfs2.FileObject f)
f.getName().f - public String getDescription(org.apache.commons.vfs2.FileObject f)
f - public String getTypeDescription(org.apache.commons.vfs2.FileObject f)
jpg file might have a type description of:
"A JPEG Compressed Image File"f - public Icon getIcon(org.apache.commons.vfs2.FileObject f)
JFileChooser.f - public Boolean isTraversable(org.apache.commons.vfs2.FileObject f)
f - Copyright © 2020. All rights reserved.