java.lang.Object
org.gjt.sp.jedit.io.VFSFile
org.gjt.sp.jedit.io.FileVFS.LocalFile
- All Implemented Interfaces:
Serializable
- Enclosing class:
- FileVFS
- See Also:
-
Field Summary
Fields inherited from class org.gjt.sp.jedit.io.VFSFile
color, colorCalculated, DIRECTORY, FILE, FILESYSTEM
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
Fetch the attributes of the local file.getExtendedAttribute
(String name) Returns the value of an extended attribute.getIcon
(boolean expanded, boolean openBuffer) Returns the file system icon for the file.long
long
return file modified date, this function simply return 0, VFS implementation should overwrite this to return the real modified databoolean
boolean
void
setModified
(long modified) Methods inherited from class org.gjt.sp.jedit.io.VFSFile
fetchedAttrs, findCompletion, findCompletion, getColor, getDefaultIcon, getDefaultIcon, getDeletePath, getIcon, getName, getPath, getType, getVFS, isBinary, isHidden, setDeletePath, setHidden, setLength, setName, setPath, setReadable, setSymlinkPath, setType, setWriteable, toString
-
Field Details
-
DATE_FORMAT
-
-
Constructor Details
-
LocalFile
-
-
Method Details
-
getExtendedAttribute
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 classVFSFile
- Parameters:
name
- The extended attribute name
-
fetchAttrs
protected void fetchAttrs()Fetch the attributes of the local file.- Overrides:
fetchAttrs
in classVFSFile
-
getIcon
Returns the file system icon for the file. -
getSymlinkPath
- Overrides:
getSymlinkPath
in classVFSFile
-
getLength
public long getLength() -
isReadable
public boolean isReadable()- Overrides:
isReadable
in classVFSFile
-
isWriteable
public boolean isWriteable()- Overrides:
isWriteable
in classVFSFile
-
getModified
public long getModified()Description copied from class:VFSFile
return file modified date, this function simply return 0, VFS implementation should overwrite this to return the real modified data- Overrides:
getModified
in classVFSFile
-
setModified
public void setModified(long modified)
-