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 aLanguage
for the given id and JVM version.
-
Method Details
-
createLanguage
Creates and returns aLanguage
for the given id and JVM version. If the factory does not recognise the givenid
,null
should be returned.- Parameters:
id
- the id of the languagejvmVersion
- the jvm version ornull
to use the default- Returns:
- the language or
null
-