Java 类com.intellij.openapi.vfs.newvfs.VfsImplUtil 实例源码

项目:intellij-ce-playground    文件:JarFileSystemImpl.java   
@NotNull
@Override
protected JarHandler getHandler(@NotNull VirtualFile entryFile) {
  return VfsImplUtil.getHandler(this, entryFile, new Function<String, JarHandler>() {
    @Override
    public JarHandler fun(String localPath) {
      return new JarHandler(localPath);
    }
  });
}
项目:consulo    文件:LocalFileSystemImpl.java   
private void markFlatDirsDirty(Iterable<String> dirtyPaths) {
  for (String dirtyPath : dirtyPaths) {
    Pair<NewVirtualFile, NewVirtualFile> pair = VfsImplUtil.findCachedFileByPath(this, dirtyPath);
    if (pair.first != null) {
      pair.first.markDirty();
      for (VirtualFile child : pair.first.getCachedChildren()) {
        ((NewVirtualFile)child).markDirty();
      }
    }
    else if (pair.second != null) {
      pair.second.markDirty();
    }
  }
}
项目:consulo    文件:LocalFileSystemImpl.java   
private void markRecursiveDirsDirty(Iterable<String> dirtyPaths) {
  for (String dirtyPath : dirtyPaths) {
    Pair<NewVirtualFile, NewVirtualFile> pair = VfsImplUtil.findCachedFileByPath(this, dirtyPath);
    if (pair.first != null) {
      pair.first.markDirtyRecursively();
    }
    else if (pair.second != null) {
      pair.second.markDirty();
    }
  }
}
项目:intellij-ce-playground    文件:TempFileSystem.java   
@Override
public VirtualFile findFileByPath(@NotNull @NonNls String path) {
  return VfsImplUtil.findFileByPath(this, path);
}
项目:intellij-ce-playground    文件:TempFileSystem.java   
@Override
public VirtualFile findFileByPathIfCached(@NotNull @NonNls String path) {
  return VfsImplUtil.findFileByPathIfCached(this, path);
}
项目:intellij-ce-playground    文件:TempFileSystem.java   
@Override
public VirtualFile refreshAndFindFileByPath(@NotNull String path) {
  return VfsImplUtil.refreshAndFindFileByPath(this, path);
}
项目:intellij-ce-playground    文件:JarFileSystemImpl.java   
@Override
public VirtualFile findFileByPath(@NotNull String path) {
  return VfsImplUtil.findFileByPath(this, path);
}
项目:intellij-ce-playground    文件:JarFileSystemImpl.java   
@Override
public VirtualFile findFileByPathIfCached(@NotNull String path) {
  return VfsImplUtil.findFileByPathIfCached(this, path);
}
项目:intellij-ce-playground    文件:JarFileSystemImpl.java   
@Override
public VirtualFile refreshAndFindFileByPath(@NotNull String path) {
  return VfsImplUtil.refreshAndFindFileByPath(this, path);
}
项目:intellij-ce-playground    文件:JarFileSystemImpl.java   
@Override
public void refresh(boolean asynchronous) {
  VfsImplUtil.refresh(this, asynchronous);
}
项目:intellij-ce-playground    文件:LocalFileSystemBase.java   
@Override
@Nullable
public VirtualFile findFileByPath(@NotNull String path) {
  return VfsImplUtil.findFileByPath(this, path);
}
项目:intellij-ce-playground    文件:LocalFileSystemBase.java   
@Override
public VirtualFile findFileByPathIfCached(@NotNull String path) {
  return VfsImplUtil.findFileByPathIfCached(this, path);
}
项目:intellij-ce-playground    文件:LocalFileSystemBase.java   
@Override
@Nullable
public VirtualFile refreshAndFindFileByPath(@NotNull String path) {
  return VfsImplUtil.refreshAndFindFileByPath(this, path);
}
项目:tools-idea    文件:TempFileSystem.java   
@Override
public VirtualFile findFileByPath(@NotNull @NonNls String path) {
  return VfsImplUtil.findFileByPath(this, path);
}
项目:tools-idea    文件:TempFileSystem.java   
@Override
public VirtualFile findFileByPathIfCached(@NotNull @NonNls String path) {
  return VfsImplUtil.findFileByPathIfCached(this, path);
}
项目:tools-idea    文件:TempFileSystem.java   
@Override
public VirtualFile refreshAndFindFileByPath(@NotNull String path) {
  return VfsImplUtil.refreshAndFindFileByPath(this, path);
}
项目:tools-idea    文件:LocalFileSystemBase.java   
@Override
@Nullable
public VirtualFile findFileByPath(@NotNull String path) {
  return VfsImplUtil.findFileByPath(this, path);
}
项目:tools-idea    文件:LocalFileSystemBase.java   
@Override
public VirtualFile findFileByPathIfCached(@NotNull String path) {
  return VfsImplUtil.findFileByPathIfCached(this, path);
}
项目:tools-idea    文件:LocalFileSystemBase.java   
@Override
@Nullable
public VirtualFile refreshAndFindFileByPath(@NotNull String path) {
  return VfsImplUtil.refreshAndFindFileByPath(this, path);
}
项目:consulo    文件:ArchiveFileSystemBase.java   
@Nonnull
@Override
protected JarHandler getHandler(@Nonnull VirtualFile entryFile) {
  return VfsImplUtil.getHandler(this, entryFile, JarHandler::new);
}
项目:consulo    文件:ArchiveFileSystemBase.java   
@Override
public VirtualFile findFileByPath(@Nonnull String path) {
  return VfsImplUtil.findFileByPath(this, path);
}
项目:consulo    文件:ArchiveFileSystemBase.java   
@Override
public VirtualFile findFileByPathIfCached(@Nonnull String path) {
  return VfsImplUtil.findFileByPathIfCached(this, path);
}
项目:consulo    文件:ArchiveFileSystemBase.java   
@Override
public VirtualFile refreshAndFindFileByPath(@Nonnull String path) {
  return VfsImplUtil.refreshAndFindFileByPath(this, path);
}
项目:consulo    文件:ArchiveFileSystemBase.java   
@Override
public void refresh(boolean asynchronous) {
  VfsImplUtil.refresh(this, asynchronous);
}
项目:consulo    文件:TempFileSystem.java   
@Override
public VirtualFile findFileByPath(@Nonnull @NonNls String path) {
  return VfsImplUtil.findFileByPath(this, path);
}
项目:consulo    文件:TempFileSystem.java   
@Override
public VirtualFile findFileByPathIfCached(@Nonnull @NonNls String path) {
  return VfsImplUtil.findFileByPathIfCached(this, path);
}
项目:consulo    文件:TempFileSystem.java   
@Override
public VirtualFile refreshAndFindFileByPath(@Nonnull String path) {
  return VfsImplUtil.refreshAndFindFileByPath(this, path);
}
项目:consulo    文件:LocalFileSystemBase.java   
@Override
@Nullable
public VirtualFile findFileByPath(@Nonnull String path) {
  return VfsImplUtil.findFileByPath(this, path);
}
项目:consulo    文件:LocalFileSystemBase.java   
@Override
public VirtualFile findFileByPathIfCached(@Nonnull String path) {
  return VfsImplUtil.findFileByPathIfCached(this, path);
}
项目:consulo    文件:LocalFileSystemBase.java   
@Override
@Nullable
public VirtualFile refreshAndFindFileByPath(@Nonnull String path) {
  return VfsImplUtil.refreshAndFindFileByPath(this, path);
}