public class FileTypeIndex
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static ID<FileType,java.lang.Void> |
NAME
|
Constructor and Description |
---|
FileTypeIndex() |
Modifier and Type | Method and Description |
---|---|
static boolean |
containsFileOfType(FileType type,
GlobalSearchScope scope) |
static java.util.Collection<VirtualFile> |
getFiles(FileType fileType,
GlobalSearchScope scope) |
static FileType |
getIndexedFileType(VirtualFile file,
Project project) |
static boolean |
processFiles(FileType fileType,
Processor<? super VirtualFile> processor,
GlobalSearchScope scope) |
public static FileType getIndexedFileType(VirtualFile file, Project project)
public static java.util.Collection<VirtualFile> getFiles(FileType fileType, GlobalSearchScope scope)
public static boolean containsFileOfType(FileType type, GlobalSearchScope scope)
public static boolean processFiles(FileType fileType, Processor<? super VirtualFile> processor, GlobalSearchScope scope)