com.qq.connect.utils
类 Configuration
java.lang.Object
com.qq.connect.utils.Configuration
public class Configuration
- extends java.lang.Object
用来union初始化根目录下的config.properties 配置文件在内存中加载所有的配置信息
从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Configuration
public Configuration()
isDalvik
public static boolean isDalvik()
useSSL
public static boolean useSSL()
getScheme
public static java.lang.String getScheme()
getCilentVersion
public static java.lang.String getCilentVersion()
getClientURL
public static java.lang.String getClientURL()
getReadTimeout
public static int getReadTimeout()
getRetryCount
public static int getRetryCount()
getRetryIntervalSecs
public static int getRetryIntervalSecs()
getUser
public static java.lang.String getUser()
getPassword
public static java.lang.String getPassword()
getUserAgent
public static java.lang.String getUserAgent()
getOAuthConsumerKey
public static java.lang.String getOAuthConsumerKey()
getOAuthConsumerSecret
public static java.lang.String getOAuthConsumerSecret()
getBoolean
public static boolean getBoolean(java.lang.String name)
getIntProperty
public static int getIntProperty(java.lang.String name)
getLongProperty
public static long getLongProperty(java.lang.String name)
getProperty
public static java.lang.String getProperty(java.lang.String name)
getNumberOfAsyncThreads
public static int getNumberOfAsyncThreads()
getDebug
public static boolean getDebug()