public static class FileVFS.LocalFile extends VFSFile
Modifier and Type | Field | Description |
---|---|---|
static java.text.DateFormat |
DATE_FORMAT |
color, colorCalculated, DIRECTORY, FILE, FILESYSTEM
Constructor | Description |
---|---|
LocalFile(java.io.File file) |
Modifier and Type | Method | 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() |
|
java.lang.String |
getSymlinkPath() |
|
boolean |
isReadable() |
|
boolean |
isWriteable() |
|
void |
setModified(long modified) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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()
public void setModified(long modified)