Package gw.config
Class AbstractPlatformHelper
- java.lang.Object
-
- gw.config.BaseService
-
- gw.config.AbstractPlatformHelper
-
- All Implemented Interfaces:
IPlatformHelper,IService,IPluginHost
- Direct Known Subclasses:
CompilerPlatformHelper,DefaultPlatformHelper,GosuEditorPlatformHelper
public abstract class AbstractPlatformHelper extends BaseService implements IPlatformHelper
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Set<java.lang.String>EXTENSIONSprivate static RabinKarpHashHASHprivate static java.lang.String[]IGNORE_DIRECTORY_PATTERNS
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractPlatformHelper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetIDEACachesDir()java.io.FilegetIDEACachesDirFile()java.io.FilegetIDEACorruptionMarkerFile()java.io.FilegetIndexFile(java.lang.String id)booleanisConfigFile(IFile file)booleanisPathIgnored(java.lang.String relativePath)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface gw.config.IPlatformHelper
getExecutionMode, refresh, shouldCacheTypeNames
-
Methods inherited from interface gw.plugin.IPluginHost
getInterface
-
-
-
-
Field Detail
-
IGNORE_DIRECTORY_PATTERNS
private static final java.lang.String[] IGNORE_DIRECTORY_PATTERNS
-
HASH
private static RabinKarpHash HASH
-
EXTENSIONS
private java.util.Set<java.lang.String> EXTENSIONS
-
-
Method Detail
-
isConfigFile
public boolean isConfigFile(IFile file)
-
isPathIgnored
public boolean isPathIgnored(java.lang.String relativePath)
- Specified by:
isPathIgnoredin interfaceIPlatformHelper
-
getIndexFile
public java.io.File getIndexFile(java.lang.String id)
- Specified by:
getIndexFilein interfaceIPlatformHelper
-
getIDEACachesDir
public java.lang.String getIDEACachesDir()
- Specified by:
getIDEACachesDirin interfaceIPlatformHelper
-
getIDEACachesDirFile
public java.io.File getIDEACachesDirFile()
- Specified by:
getIDEACachesDirFilein interfaceIPlatformHelper
-
getIDEACorruptionMarkerFile
public java.io.File getIDEACorruptionMarkerFile()
- Specified by:
getIDEACorruptionMarkerFilein interfaceIPlatformHelper
-
-