public static class FileVFS.LocalFile extends VFSFile
| Modifier and Type | Field and Description |
|---|---|
static java.text.DateFormat |
DATE_FORMAT |
color, colorCalculated, DIRECTORY, FILE, FILESYSTEM| Constructor and Description |
|---|
LocalFile(java.io.File file) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
fetchAttrs()
Fetch the attributes of the local file.
|
java.lang.String |
getExtendedAttribute(java.lang.String name)
Returns the value of an extended attribute.
|
javax.swing.Icon |
getIcon(boolean expanded,
boolean openBuffer)
Returns the file system icon for the file.
|
long |
getLength() |
long |
getModified()
return file modified date, this function simply return 0,
VFS implementation should overwrite this to return the
real modified data
|
java.lang.String |
getSymlinkPath() |
boolean |
isReadable() |
boolean |
isWriteable() |
void |
setModified(long modified) |
fetchedAttrs, findCompletion, findCompletion, getColor, getDefaultIcon, getDefaultIcon, getDeletePath, getIcon, getName, getPath, getType, getVFS, isBinary, isHidden, setDeletePath, setHidden, setLength, setName, setPath, setReadable, setSymlinkPath, setType, setWriteable, toStringpublic java.lang.String getExtendedAttribute(java.lang.String name)
VFSFilegetExtendedAttribute in class VFSFilename - The extended attribute nameprotected void fetchAttrs()
fetchAttrs in class VFSFilepublic javax.swing.Icon getIcon(boolean expanded,
boolean openBuffer)
public java.lang.String getSymlinkPath()
getSymlinkPath in class VFSFilepublic boolean isReadable()
isReadable in class VFSFilepublic boolean isWriteable()
isWriteable in class VFSFilepublic long getModified()
VFSFilegetModified in class VFSFilepublic void setModified(long modified)