twitter4j
Class Configuration
java.lang.Object
twitter4j.Configuration
public class Configuration
- extends java.lang.Object
- Author:
- Yusuke Yamamoto - yusuke at mac.com
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
defaultProperty
private static java.util.Properties defaultProperty
Configuration
public Configuration()
getCilentVersion
public static java.lang.String getCilentVersion()
getCilentVersion
public static java.lang.String getCilentVersion(java.lang.String clientVersion)
getSource
public static java.lang.String getSource()
getSource
public static java.lang.String getSource(java.lang.String source)
getProxyHost
public static java.lang.String getProxyHost()
getProxyHost
public static java.lang.String getProxyHost(java.lang.String proxyHost)
getProxyUser
public static java.lang.String getProxyUser()
getProxyUser
public static java.lang.String getProxyUser(java.lang.String user)
getClientURL
public static java.lang.String getClientURL()
getClientURL
public static java.lang.String getClientURL(java.lang.String clientURL)
getProxyPassword
public static java.lang.String getProxyPassword()
getProxyPassword
public static java.lang.String getProxyPassword(java.lang.String password)
getProxyPort
public static int getProxyPort()
getProxyPort
public static int getProxyPort(int port)
getConnectionTimeout
public static int getConnectionTimeout()
getConnectionTimeout
public static int getConnectionTimeout(int connectionTimeout)
getReadTimeout
public static int getReadTimeout()
getReadTimeout
public static int getReadTimeout(int readTimeout)
getRetryCount
public static int getRetryCount()
getRetryCount
public static int getRetryCount(int retryCount)
getRetryIntervalSecs
public static int getRetryIntervalSecs()
getRetryIntervalSecs
public static int getRetryIntervalSecs(int retryIntervalSecs)
getUser
public static java.lang.String getUser()
getUser
public static java.lang.String getUser(java.lang.String userId)
getPassword
public static java.lang.String getPassword()
getPassword
public static java.lang.String getPassword(java.lang.String password)
getUserAgent
public static java.lang.String getUserAgent()
getUserAgent
public static java.lang.String getUserAgent(java.lang.String userAgent)
getOAuthConsumerKey
public static java.lang.String getOAuthConsumerKey()
getOAuthConsumerKey
public static java.lang.String getOAuthConsumerKey(java.lang.String consumerKey)
getOAuthConsumerSecret
public static java.lang.String getOAuthConsumerSecret()
getOAuthConsumerSecret
public static java.lang.String getOAuthConsumerSecret(java.lang.String consumerSecret)
getBoolean
public static boolean getBoolean(java.lang.String name)
getIntProperty
public static int getIntProperty(java.lang.String name)
getIntProperty
public static int getIntProperty(java.lang.String name,
int fallbackValue)
getLongProperty
public static long getLongProperty(java.lang.String name)
getProperty
public static java.lang.String getProperty(java.lang.String name)
getProperty
public static java.lang.String getProperty(java.lang.String name,
java.lang.String fallbackValue)
replace
private static java.lang.String replace(java.lang.String value)
getNumberOfAsyncThreads
public static int getNumberOfAsyncThreads()
getDebug
public static boolean getDebug()