twitter4j
Class CategoryJSONImpl
java.lang.Object
twitter4j.CategoryJSONImpl
- All Implemented Interfaces:
- java.io.Serializable, Category
final class CategoryJSONImpl
- extends java.lang.Object
- implements Category, java.io.Serializable
- Since:
- Twitter4J 2.1.1
- Author:
- Yusuke Yamamoto - yusuke at mac.com
Constructor Summary |
CategoryJSONImpl(twitter4j.internal.org.json.JSONObject json)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
name
private java.lang.String name
slug
private java.lang.String slug
size
private int size
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
CategoryJSONImpl
CategoryJSONImpl(twitter4j.internal.org.json.JSONObject json)
throws twitter4j.internal.org.json.JSONException
- Throws:
twitter4j.internal.org.json.JSONException
init
void init(twitter4j.internal.org.json.JSONObject json)
throws twitter4j.internal.org.json.JSONException
- Throws:
twitter4j.internal.org.json.JSONException
createCategoriesList
public static ResponseList<Category> createCategoriesList(twitter4j.internal.http.HttpResponse res)
throws TwitterException
- Throws:
TwitterException
createCategoriesList
public static ResponseList<Category> createCategoriesList(twitter4j.internal.org.json.JSONArray array,
twitter4j.internal.http.HttpResponse res)
throws TwitterException
- Throws:
TwitterException
getName
public java.lang.String getName()
- Specified by:
getName
in interface Category
getSlug
public java.lang.String getSlug()
- Specified by:
getSlug
in interface Category
getSize
public int getSize()
- Specified by:
getSize
in interface Category
- Returns:
- Since:
- Twitter4J 2.1.9
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object