|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.pkrete.jsip2.variables.LanguageFactory
public class LanguageFactory
This class generates Language objects based on the language code. This class implements the Singleton design pattern, which means that only one instance is created at run time.
| Method Summary | |
|---|---|
static LanguageFactory |
getInstance()
Returns a reference to the singleton object. |
Language |
getLanguage(String code)
Returns a language matching the given language code. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static LanguageFactory getInstance()
public Language getLanguage(String code)
throws InvalidSIP2ResponseValueException
code - language code
InvalidSIP2ResponseValueException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||