Interface LanguageFactory
public interface LanguageFactory
A factory for creating a
Language.- Author:
- Andy Wilkinson
-
Method Summary
Modifier and TypeMethodDescriptioncreateLanguage(String id, String jvmVersion) Creates and returns aLanguagefor the given id and JVM version.
-
Method Details
-
createLanguage
Creates and returns aLanguagefor the given id and JVM version. If the factory does not recognise the givenid,nullshould be returned.- Parameters:
id- the id of the languagejvmVersion- the jvm version ornullto use the default- Returns:
- the language or
null
-