com.qq.connect.utils
类 Configuration

java.lang.Object
  继承者 com.qq.connect.utils.Configuration

public class Configuration
extends java.lang.Object

用来union初始化根目录下的config.properties 配置文件在内存中加载所有的配置信息


构造方法摘要
Configuration()
           
 
方法摘要
static boolean getBoolean(java.lang.String name)
           
static java.lang.String getCilentVersion()
           
static java.lang.String getClientURL()
           
static boolean getDebug()
           
static int getIntProperty(java.lang.String name)
           
static long getLongProperty(java.lang.String name)
           
static int getNumberOfAsyncThreads()
           
static java.lang.String getOAuthConsumerKey()
           
static java.lang.String getOAuthConsumerSecret()
           
static java.lang.String getPassword()
           
static java.lang.String getProperty(java.lang.String name)
           
static int getReadTimeout()
           
static int getRetryCount()
           
static int getRetryIntervalSecs()
           
static java.lang.String getScheme()
           
static java.lang.String getUser()
           
static java.lang.String getUserAgent()
           
static boolean isDalvik()
           
static boolean useSSL()
           
 
从类 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()