public final class LocalFileSystemImpl extends LocalFileSystemBase implements Disposable, VirtualFilePointerCapableFileSystem
LocalFileSystem.WatchRequest
Disposable.Parent
LOG
PROTOCOL, PROTOCOL_PREFIX
DEFAULT_LENGTH, DEFAULT_TIMESTAMP
Constructor and Description |
---|
LocalFileSystemImpl() |
Modifier and Type | Method and Description |
---|---|
void |
cleanupForNextTest() |
void |
dispose()
Usually not invoked directly, see class javadoc.
|
FileWatcher |
getFileWatcher() |
void |
markSuspiciousFilesDirty(java.util.List<? extends VirtualFile> files) |
void |
refreshWithoutFileWatcher(boolean asynchronous) |
java.util.Set<LocalFileSystem.WatchRequest> |
replaceWatchedRoots(java.util.Collection<LocalFileSystem.WatchRequest> watchRequestsToRemove,
java.util.Collection<java.lang.String> recursiveRootsToAdd,
java.util.Collection<java.lang.String> flatRootsToAdd)
Stops watching given watch requests and starts watching new paths.
|
void |
symlinkRemoved(int fileId) |
void |
symlinkUpdated(int fileId,
java.lang.String linkPath,
java.lang.String linkTarget) |
java.lang.String |
toString() |
contentsToByteArray, copyFile, createChildDirectory, createChildFile, deleteFile, exists, extractRootPath, findFileByIoFile, findFileByPath, findFileByPathIfCached, getAttributes, getCanonicallyCasedName, getInputStream, getLength, getOutputStream, getProtocol, getRank, getTimeStamp, hasChildren, isCaseSensitive, isDirectory, isReadOnly, isSymLink, isValidName, isWritable, list, markNewFilesAsDirty, moveFile, normalize, refresh, refreshAndFindFileByIoFile, refreshAndFindFileByPath, refreshFiles, refreshFiles, refreshIoFiles, refreshIoFiles, registerAuxiliaryFileOperationsHandler, renameFile, resolveSymLink, setTimeStamp, setWritable, unregisterAuxiliaryFileOperationsHandler
addRootsToWatch, addRootToWatch, getInstance, removeWatchedRoot, removeWatchedRoots, replaceWatchedRoot
addVirtualFileListener, removeVirtualFileListener
extractPresentableUrl
public FileWatcher getFileWatcher()
public void dispose()
Disposable
dispose
in interface Disposable
public void markSuspiciousFilesDirty(java.util.List<? extends VirtualFile> files)
public java.util.Set<LocalFileSystem.WatchRequest> replaceWatchedRoots(java.util.Collection<LocalFileSystem.WatchRequest> watchRequestsToRemove, java.util.Collection<java.lang.String> recursiveRootsToAdd, java.util.Collection<java.lang.String> flatRootsToAdd)
LocalFileSystem
replaceWatchedRoots
in class LocalFileSystem
public void refreshWithoutFileWatcher(boolean asynchronous)
refreshWithoutFileWatcher
in interface CachingVirtualFileSystem
refreshWithoutFileWatcher
in class NewVirtualFileSystem
public final void symlinkUpdated(int fileId, java.lang.String linkPath, java.lang.String linkTarget)
public final void symlinkRemoved(int fileId)
public java.lang.String toString()
toString
in class java.lang.Object
public void cleanupForNextTest()