public class Win32LocalFileSystem extends LocalFileSystemBase
LocalFileSystem.WatchRequest
LOG
PROTOCOL, PROTOCOL_PREFIX
DEFAULT_LENGTH, DEFAULT_TIMESTAMP
Modifier and Type | Method and Description |
---|---|
FileAttributes |
getAttributes(VirtualFile file)
Reads various file attributes in one shot (to reduce the number of native I/O calls).
|
static Win32LocalFileSystem |
getWin32Instance() |
static boolean |
isAvailable() |
java.lang.String [] |
list(VirtualFile file) |
java.util.Set<LocalFileSystem.WatchRequest> |
replaceWatchedRoots(java.util.Collection<LocalFileSystem.WatchRequest> watchRequests,
java.util.Collection<java.lang.String> recursiveRoots,
java.util.Collection<java.lang.String> flatRoots)
Stops watching given watch requests and starts watching new paths.
|
contentsToByteArray, copyFile, createChildDirectory, createChildFile, deleteFile, exists, extractRootPath, findFileByIoFile, findFileByPath, findFileByPathIfCached, getCanonicallyCasedName, getInputStream, getLength, getOutputStream, getProtocol, getRank, getTimeStamp, hasChildren, isCaseSensitive, isDirectory, isReadOnly, isSymLink, isValidName, isWritable, markNewFilesAsDirty, moveFile, normalize, refresh, refreshAndFindFileByIoFile, refreshAndFindFileByPath, refreshFiles, refreshFiles, refreshIoFiles, refreshIoFiles, registerAuxiliaryFileOperationsHandler, renameFile, resolveSymLink, setTimeStamp, setWritable, unregisterAuxiliaryFileOperationsHandler
addRootsToWatch, addRootToWatch, getInstance, removeWatchedRoot, removeWatchedRoots, replaceWatchedRoot
addVirtualFileListener, refreshWithoutFileWatcher, removeVirtualFileListener
extractPresentableUrl
public static boolean isAvailable()
public static Win32LocalFileSystem getWin32Instance()
public java.lang.String [] list(VirtualFile file)
list
in interface FileSystemInterface
list
in class LocalFileSystemBase
public FileAttributes getAttributes(VirtualFile file)
NewVirtualFileSystem
getAttributes
in class LocalFileSystemBase
file
- file to get attributes of.null
if the file doesn't exist.public java.util.Set<LocalFileSystem.WatchRequest> replaceWatchedRoots(java.util.Collection<LocalFileSystem.WatchRequest> watchRequests, java.util.Collection<java.lang.String> recursiveRoots, java.util.Collection<java.lang.String> flatRoots)
LocalFileSystem
replaceWatchedRoots
in class LocalFileSystem