twitter4j
Class Configuration

java.lang.Object
  extended by twitter4j.Configuration

public class Configuration
extends java.lang.Object

Author:
Yusuke Yamamoto - yusuke at mac.com

Field Summary
private static java.util.Properties defaultProperty
           
 
Constructor Summary
Configuration()
           
 
Method Summary
static boolean getBoolean(java.lang.String name)
           
static java.lang.String getCilentVersion()
           
static java.lang.String getCilentVersion(java.lang.String clientVersion)
           
static java.lang.String getClientURL()
           
static java.lang.String getClientURL(java.lang.String clientURL)
           
static int getConnectionTimeout()
           
static int getConnectionTimeout(int connectionTimeout)
           
static boolean getDebug()
           
static int getIntProperty(java.lang.String name)
           
static int getIntProperty(java.lang.String name, int fallbackValue)
           
static long getLongProperty(java.lang.String name)
           
static int getNumberOfAsyncThreads()
           
static java.lang.String getOAuthConsumerKey()
           
static java.lang.String getOAuthConsumerKey(java.lang.String consumerKey)
           
static java.lang.String getOAuthConsumerSecret()
           
static java.lang.String getOAuthConsumerSecret(java.lang.String consumerSecret)
           
static java.lang.String getPassword()
           
static java.lang.String getPassword(java.lang.String password)
           
static java.lang.String getProperty(java.lang.String name)
           
static java.lang.String getProperty(java.lang.String name, java.lang.String fallbackValue)
           
static java.lang.String getProxyHost()
           
static java.lang.String getProxyHost(java.lang.String proxyHost)
           
static java.lang.String getProxyPassword()
           
static java.lang.String getProxyPassword(java.lang.String password)
           
static int getProxyPort()
           
static int getProxyPort(int port)
           
static java.lang.String getProxyUser()
           
static java.lang.String getProxyUser(java.lang.String user)
           
static int getReadTimeout()
           
static int getReadTimeout(int readTimeout)
           
static int getRetryCount()
           
static int getRetryCount(int retryCount)
           
static int getRetryIntervalSecs()
           
static int getRetryIntervalSecs(int retryIntervalSecs)
           
static java.lang.String getSource()
           
static java.lang.String getSource(java.lang.String source)
           
static java.lang.String getUser()
           
static java.lang.String getUser(java.lang.String userId)
           
static java.lang.String getUserAgent()
           
static java.lang.String getUserAgent(java.lang.String userAgent)
           
private static java.lang.String replace(java.lang.String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

defaultProperty

private static java.util.Properties defaultProperty
Constructor Detail

Configuration

public Configuration()
Method Detail

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()