Package gw.internal.gosu.properties
Class PropertiesTypeLoader
- java.lang.Object
-
- gw.config.BaseService
-
- gw.lang.reflect.TypeLoaderBase
-
- gw.internal.gosu.properties.PropertiesTypeLoader
-
- All Implemented Interfaces:
IService,ITypeLoader,IPluginHost
public class PropertiesTypeLoader extends TypeLoaderBase
-
-
Field Summary
Fields Modifier and Type Field Description protected Set<String>_namespaces-
Fields inherited from class gw.lang.reflect.TypeLoaderBase
_module, _typeNames
-
Fields inherited from interface gw.lang.reflect.ITypeLoader
NO_TYPES
-
-
Constructor Summary
Constructors Constructor Description PropertiesTypeLoader(IModule module)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<String>computeTypeNames()Set<String>getAllNamespaces()List<String>getHandledPrefixes()<T> TgetInterface(Class<T> apiInterface)ITypegetType(String fullyQualifiedName)String[]getTypesForFile(IFile file)booleanhandlesFile(IFile file)booleanhandlesNonPrefixLoads()booleanhasNamespace(String namespace)static booleanisDisplayPropertiesFile(String fileName)RefreshKindrefreshedFile(IFile file, String[] types, RefreshKind kind)voidrefreshedImpl()voidrefreshedNamespace(String namespace, IDirectory dir, RefreshKind kind)-
Methods inherited from class gw.lang.reflect.TypeLoaderBase
clearTypeNames, deleteIndexFile, getAllTypeNames, getModule, getNamespaceForDirectory, getResource, getTypeNames, getTypeNames, handlesDirectory, isCaseSensitive, loadTypeNames, refreshed, refreshedTypes, refreshedTypesImpl, saveTypeNames, shouldCacheTypeNames, showTypeNamesInIDE, shutdown, toString
-
-
-
-
Constructor Detail
-
PropertiesTypeLoader
public PropertiesTypeLoader(IModule module)
-
-
Method Detail
-
handlesNonPrefixLoads
public boolean handlesNonPrefixLoads()
-
handlesFile
public boolean handlesFile(IFile file)
- Specified by:
handlesFilein interfaceITypeLoader- Overrides:
handlesFilein classTypeLoaderBase
-
isDisplayPropertiesFile
public static boolean isDisplayPropertiesFile(String fileName)
-
refreshedImpl
public void refreshedImpl()
- Overrides:
refreshedImplin classTypeLoaderBase
-
getTypesForFile
public String[] getTypesForFile(IFile file)
- Specified by:
getTypesForFilein interfaceITypeLoader- Overrides:
getTypesForFilein classTypeLoaderBase
-
refreshedFile
public RefreshKind refreshedFile(IFile file, String[] types, RefreshKind kind)
- Specified by:
refreshedFilein interfaceITypeLoader- Overrides:
refreshedFilein classTypeLoaderBase
-
hasNamespace
public boolean hasNamespace(String namespace)
-
refreshedNamespace
public void refreshedNamespace(String namespace, IDirectory dir, RefreshKind kind)
-
getInterface
public <T> T getInterface(Class<T> apiInterface)
-
-