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
TwitterException
private void init(JSONObject json) throws TwitterException
TwitterException
public java.lang.String getName()
getName
in interface HelpResources.Language
public java.lang.String getCode()
getCode
in interface HelpResources.Language
public java.lang.String getStatus()
getStatus
in interface HelpResources.Language
static ResponseList<HelpResources.Language> createLanguageList(HttpResponse res, Configuration conf) throws TwitterException
TwitterException
static ResponseList<HelpResources.Language> createLanguageList(JSONArray list, HttpResponse res, Configuration conf) throws TwitterException
TwitterException