public class Language
extends java.lang.Object
This is factory for creating objects of type ILanguage
.
It has a static method for creating objects.
ILanguage english = Language.load("english"); ILanguage spanish = Language.load("spanish"); ILanguage french = Language.load("french");
public static ILanguage load(java.lang.String languageName)
Creates instance of ILanguage
from name of language.
This will raise exception if files for that language not exists in specified directory.
languageName
- The name of language.ILanguage
.ArgumentException
- Thrown when have not "languageName" language.