public abstract class ScratchFileService
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ScratchFileService.Option |
Constructor and Description |
---|
ScratchFileService() |
Modifier and Type | Method and Description |
---|---|
abstract VirtualFile |
findFile(RootType rootType,
java.lang.String pathName,
ScratchFileService.Option option) |
static RootType |
findRootType(VirtualFile file) |
static ScratchFileService |
getInstance() |
abstract java.lang.String |
getRootPath(RootType rootType) |
abstract RootType |
getRootType(VirtualFile file) |
abstract PerFileMappings<Language> |
getScratchesMapping() |
static boolean |
isInScratchRoot(VirtualFile file)
Deprecated.
|
public static ScratchFileService getInstance()
public abstract java.lang.String getRootPath(RootType rootType)
public abstract RootType getRootType(VirtualFile file)
public abstract VirtualFile findFile(RootType rootType, java.lang.String pathName, ScratchFileService.Option option) throws java.io.IOException
java.io.IOException
public abstract PerFileMappings<Language> getScratchesMapping()
public static RootType findRootType(VirtualFile file)
@Deprecated public static boolean isInScratchRoot(VirtualFile file)
findRootType(VirtualFile)
or ScratchUtil.isScratch(VirtualFile)