oscript.fs
Class AbstractFileSystem.MountPointFile

java.lang.Object
  extended byoscript.fs.AbstractFileSystem.BogusFile
      extended byoscript.fs.AbstractFileSystem.MountPointFile
All Implemented Interfaces:
AbstractFile
Enclosing class:
AbstractFileSystem

public static class AbstractFileSystem.MountPointFile
extends AbstractFileSystem.BogusFile

A mount point file doesn't actually exist, but is used to simulate non existant components of the mount path of some file system. It is a directory and is not modifiable.


Method Summary
 AbstractFileSystem getFs()
           
 java.lang.String getMountType()
           
 long lastModified()
          Return the time of last modification.
 
Methods inherited from class oscript.fs.AbstractFileSystem.BogusFile
canRead, canWrite, createNewFile, delete, equals, exists, getExtension, getInputStream, getName, getOutputStream, getPath, hashCode, isDirectory, isFile, length, mkdir, mkdirs, toString, touch
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getFs

public AbstractFileSystem getFs()

getMountType

public java.lang.String getMountType()

lastModified

public long lastModified()
Description copied from interface: AbstractFile
Return the time of last modification. The meaning of these value is not so important, but the implementation must ensure that a higher value is returned for the more recent version of a given element. Ie. if at some point this returns X, an AbstractFile representing the same "file", but created at a later time, should return X if the file has not been modified, or >X if the file has been modified.

Specified by:
lastModified in interface AbstractFile
Overrides:
lastModified in class AbstractFileSystem.BogusFile