public class LanguageJSONImpl extends java.lang.Object implements HelpResources.Language
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
code |
private java.lang.String |
name |
private java.lang.String |
status |
| Constructor and Description |
|---|
LanguageJSONImpl(JSONObject json) |
| Modifier and Type | Method and Description |
|---|---|
(package private) static ResponseList<HelpResources.Language> |
createLanguageList(HttpResponse res,
Configuration conf) |
(package private) static ResponseList<HelpResources.Language> |
createLanguageList(JSONArray list,
HttpResponse res,
Configuration conf) |
java.lang.String |
getCode() |
java.lang.String |
getName() |
java.lang.String |
getStatus() |
private void |
init(JSONObject json) |
private java.lang.String name
private java.lang.String code
private java.lang.String status
LanguageJSONImpl(JSONObject json) throws TwitterException
TwitterExceptionprivate void init(JSONObject json) throws TwitterException
TwitterExceptionpublic java.lang.String getName()
getName in interface HelpResources.Languagepublic java.lang.String getCode()
getCode in interface HelpResources.Languagepublic java.lang.String getStatus()
getStatus in interface HelpResources.Languagestatic ResponseList<HelpResources.Language> createLanguageList(HttpResponse res, Configuration conf) throws TwitterException
TwitterExceptionstatic ResponseList<HelpResources.Language> createLanguageList(JSONArray list, HttpResponse res, Configuration conf) throws TwitterException
TwitterException