class TwitterAPIConfigurationJSONImpl extends TwitterResponseImpl implements TwitterAPIConfiguration
| Modifier and Type | Field and Description |
|---|---|
private int |
charactersReservedPerMedia |
private int |
maxMediaPerUpload |
private java.lang.String[] |
nonUsernamePaths |
private int |
photoSizeLimit |
private java.util.Map<java.lang.Integer,MediaEntity.Size> |
photoSizes |
private static long |
serialVersionUID |
private int |
shortURLLength |
private int |
shortURLLengthHttps |
NONE, READ, READ_WRITE, READ_WRITE_DIRECTMESSAGES| Constructor and Description |
|---|
TwitterAPIConfigurationJSONImpl(HttpResponse res,
Configuration conf) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
int |
getCharactersReservedPerMedia() |
int |
getMaxMediaPerUpload() |
java.lang.String[] |
getNonUsernamePaths() |
int |
getPhotoSizeLimit() |
java.util.Map<java.lang.Integer,MediaEntity.Size> |
getPhotoSizes() |
int |
getShortURLLength() |
int |
getShortURLLengthHttps() |
int |
hashCode() |
java.lang.String |
toString() |
getAccessLevel, getRateLimitStatusclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAccessLevel, getRateLimitStatusprivate static final long serialVersionUID
private int photoSizeLimit
private int shortURLLength
private int shortURLLengthHttps
private int charactersReservedPerMedia
private java.util.Map<java.lang.Integer,MediaEntity.Size> photoSizes
private java.lang.String[] nonUsernamePaths
private int maxMediaPerUpload
TwitterAPIConfigurationJSONImpl(HttpResponse res, Configuration conf) throws TwitterException
TwitterExceptionpublic int getPhotoSizeLimit()
getPhotoSizeLimit in interface TwitterAPIConfigurationpublic int getShortURLLength()
getShortURLLength in interface TwitterAPIConfigurationpublic int getShortURLLengthHttps()
getShortURLLengthHttps in interface TwitterAPIConfigurationpublic int getCharactersReservedPerMedia()
getCharactersReservedPerMedia in interface TwitterAPIConfigurationpublic java.util.Map<java.lang.Integer,MediaEntity.Size> getPhotoSizes()
getPhotoSizes in interface TwitterAPIConfigurationpublic java.lang.String[] getNonUsernamePaths()
getNonUsernamePaths in interface TwitterAPIConfigurationpublic int getMaxMediaPerUpload()
getMaxMediaPerUpload in interface TwitterAPIConfigurationpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object