org.gjt.sp.jedit.io
Class FileVFS.LocalFile

java.lang.Object
  extended by org.gjt.sp.jedit.io.VFSFile
      extended by 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
 
Constructor Summary
FileVFS.LocalFile(java.io.File file)
           
 
Method Summary
protected  void fetchAttrs()
           
 java.lang.String getExtendedAttribute(java.lang.String name)
          Returns the value of an extended attribute.
 long getLength()
           
 long getModified()
           
 java.lang.String getSymlinkPath()
           
 boolean isReadable()
           
 boolean isWriteable()
           
 void setModified(long modified)
           
 
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
 

Field Detail

DATE_FORMAT

public static java.text.DateFormat DATE_FORMAT

modified

public long modified
Deprecated. Call getModified() instead.
Constructor Detail

FileVFS.LocalFile

public FileVFS.LocalFile(java.io.File file)
Method Detail

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)