Java 类com.intellij.openapi.vfs.impl.win32.Win32LocalFileSystem 实例源码

项目:intellij-ce-playground    文件:PersistentFS.java   
@NotNull
public static NewVirtualFileSystem replaceWithNativeFS(@NotNull final NewVirtualFileSystem fs) {
  if (SystemInfo.isWindows &&
      !(fs instanceof Win32LocalFileSystem) &&
      fs.getProtocol().equals(LocalFileSystem.PROTOCOL) &&
      Win32LocalFileSystem.isAvailable()) {
    return Win32LocalFileSystem.getWin32Instance();
  }
  return fs;
}
项目:tools-idea    文件:PersistentFS.java   
@NotNull
public static NewVirtualFileSystem replaceWithNativeFS(@NotNull final NewVirtualFileSystem fs) {
  if (SystemInfo.isWindows &&
      !(fs instanceof Win32LocalFileSystem) &&
      fs.getProtocol().equals(LocalFileSystem.PROTOCOL) &&
      Win32LocalFileSystem.isAvailable()) {
    return Win32LocalFileSystem.getWin32Instance();
  }
  return fs;
}
项目:consulo    文件:PersistentFS.java   
@Nonnull
public static NewVirtualFileSystem replaceWithNativeFS(@Nonnull final NewVirtualFileSystem fs) {
  if (SystemInfo.isWindows &&
      !(fs instanceof Win32LocalFileSystem) &&
      fs.getProtocol().equals(LocalFileSystem.PROTOCOL) &&
      Win32LocalFileSystem.isAvailable()) {
    return Win32LocalFileSystem.getWin32Instance();
  }
  return fs;
}