org.gjt.sp.jedit.io
Class FileVFS.LocalFile
java.lang.Object
org.gjt.sp.jedit.io.VFSFile
org.gjt.sp.jedit.io.FileVFS.LocalFile
- All Implemented Interfaces:
- java.io.Serializable
- Enclosing class:
- FileVFS
public static class FileVFS.LocalFile
- extends VFSFile
- See Also:
- Serialized Form
Field Summary |
static java.text.DateFormat |
DATE_FORMAT
|
long |
modified
Deprecated. Call getModified() instead. |
Fields inherited from class org.gjt.sp.jedit.io.VFSFile |
canRead, canWrite, color, colorCalculated, deletePath, DIRECTORY, FILE, FILESYSTEM, hidden, length, name, path, symlinkPath, type |
Methods inherited from class org.gjt.sp.jedit.io.VFSFile |
fetchedAttrs, findCompletion, findCompletion, getColor, getDeletePath, getName, getPath, getType, getVFS, isBinary, isHidden, setDeletePath, setHidden, setLength, setName, setPath, setReadable, setSymlinkPath, setType, setWriteable, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DATE_FORMAT
public static java.text.DateFormat DATE_FORMAT
modified
public long modified
- Deprecated. Call getModified() instead.
FileVFS.LocalFile
public FileVFS.LocalFile(java.io.File file)
getExtendedAttribute
public java.lang.String getExtendedAttribute(java.lang.String name)
- Description copied from class:
VFSFile
- Returns the value of an extended attribute. Note that this
returns formatted strings (eg, "10 Mb" for a file size of
1048576 bytes). If you need access to the raw data, access
fields and methods of this class.
- Overrides:
getExtendedAttribute
in class VFSFile
- Parameters:
name
- The extended attribute name
fetchAttrs
protected void fetchAttrs()
- Overrides:
fetchAttrs
in class VFSFile
getSymlinkPath
public java.lang.String getSymlinkPath()
- Overrides:
getSymlinkPath
in class VFSFile
getLength
public long getLength()
- Overrides:
getLength
in class VFSFile
isReadable
public boolean isReadable()
- Overrides:
isReadable
in class VFSFile
isWriteable
public boolean isWriteable()
- Overrides:
isWriteable
in class VFSFile
getModified
public long getModified()
setModified
public void setModified(long modified)