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, toString
public java.lang.String getExtendedAttribute(java.lang.String name)
VFSFile
getExtendedAttribute
in class VFSFile
name
- The extended attribute nameprotected void fetchAttrs()
fetchAttrs
in class VFSFile
public javax.swing.Icon getIcon(boolean expanded, boolean openBuffer)
public java.lang.String getSymlinkPath()
getSymlinkPath
in class VFSFile
public boolean isReadable()
isReadable
in class VFSFile
public boolean isWriteable()
isWriteable
in class VFSFile
public long getModified()
VFSFile
getModified
in class VFSFile
public void setModified(long modified)