public abstract class ManagingFS extends java.lang.Object implements FileSystemInterface
DEFAULT_LENGTH, DEFAULT_TIMESTAMP
Constructor and Description |
---|
ManagingFS() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
areChildrenLoaded(VirtualFile dir) |
abstract VirtualFile |
findFileById(int id) |
abstract NewVirtualFile |
findRoot(java.lang.String path,
NewVirtualFileSystem fs) |
abstract long |
getCreationTimestamp() |
abstract int |
getFilesystemModificationCount() |
static ManagingFS |
getInstance() |
abstract VirtualFile [] |
getLocalRoots() |
abstract int |
getModificationCount() |
abstract int |
getModificationCount(VirtualFile fileOrDirectory) |
abstract VirtualFile [] |
getRoots() |
abstract VirtualFile [] |
getRoots(NewVirtualFileSystem fs) |
abstract int |
getStructureModificationCount() |
abstract java.io.DataInputStream |
readAttribute(VirtualFile file,
FileAttribute att) |
abstract boolean |
wereChildrenAccessed(VirtualFile dir) |
abstract java.io.DataOutputStream |
writeAttribute(VirtualFile file,
FileAttribute att) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
contentsToByteArray, copyFile, createChildDirectory, createChildFile, deleteFile, exists, getInputStream, getLength, getOutputStream, getTimeStamp, isDirectory, isSymLink, isWritable, list, moveFile, renameFile, resolveSymLink, setTimeStamp, setWritable
public static ManagingFS getInstance()
public abstract java.io.DataInputStream readAttribute(VirtualFile file, FileAttribute att)
public abstract java.io.DataOutputStream writeAttribute(VirtualFile file, FileAttribute att)
public abstract int getModificationCount(VirtualFile fileOrDirectory)
public abstract int getModificationCount()
getStructureModificationCount()
,
getFilesystemModificationCount()
public abstract int getStructureModificationCount()
getModificationCount()
public abstract int getFilesystemModificationCount()
getModificationCount(VirtualFile)
.
This number is persisted between IDE sessions and so it'll always increase. This method invocation means disk access, so it's not terribly cheap.public abstract long getCreationTimestamp()
public abstract boolean areChildrenLoaded(VirtualFile dir)
public abstract boolean wereChildrenAccessed(VirtualFile dir)
public abstract NewVirtualFile findRoot(java.lang.String path, NewVirtualFileSystem fs)
public abstract VirtualFile [] getRoots()
public abstract VirtualFile [] getRoots(NewVirtualFileSystem fs)
public abstract VirtualFile [] getLocalRoots()
public abstract VirtualFile findFileById(int id)