checkExtension method
HTResourceType
checkExtension(
- String ext
)
inherited
Implementation
HTResourceType checkExtension(String ext) {
if (ext == HTResource.hetuModule) {
return HTResourceType.hetuModule;
} else if (ext == HTResource.hetuScript) {
return HTResourceType.hetuScript;
} else if (_predefinedCompatibleHetuValueExtensions.contains(ext)) {
return HTResourceType.hetuValue;
} else if (binaryFileExtensions.contains(ext)) {
return HTResourceType.binary;
} else {
return HTResourceType.unknown;
}
}