跳过导航链接
A B C D E F G H I J K L M N O P Q R S T U V W X Y _ 

A

add(double, double) - 类 中的静态方法com.xunlei.channel.common.utils.arith.Arith
提供精确的加法运算。
add(K, V) - 接口 中的方法com.xunlei.channel.common.utils.MultiValueMap
Add the given single value to the current list of values for the given key.
addObjectToArray(A[], O) - 类 中的静态方法com.xunlei.channel.common.utils.ObjectUtils
Append the given object to the given array, returning a new array consisting of the input array contents plus the given object.
addStringToArray(String[], String) - 类 中的静态方法com.xunlei.channel.common.utils.string.StringUtils
 
AmountUtil - com.xunlei.channel.common.utils.currency中的类
精确的金额转换工具
AmountUtil() - 类 的构造器com.xunlei.channel.common.utils.currency.AmountUtil
 
appendMd5DigestAsHex(byte[], StringBuilder) - 类 中的静态方法com.xunlei.channel.common.utils.sign.DigestUtils
Append a hexadecimal string representation of the MD5 digest of the given bytes to the given StringBuilder.
applyRelativePath(String, String) - 类 中的静态方法com.xunlei.channel.common.utils.string.StringUtils
 
Arith - com.xunlei.channel.common.utils.arith中的类
由于Java的简单类型不能够精确的对浮点数进行运算, 这个工具类提供精确的浮点数运算,包括加减乘除和四舍五入。
arrayToCommaDelimitedString(Object[]) - 类 中的静态方法com.xunlei.channel.common.utils.string.StringUtils
 
arrayToDelimitedString(Object[], String) - 类 中的静态方法com.xunlei.channel.common.utils.string.StringUtils
 
arrayToList(Object) - 类 中的静态方法com.xunlei.channel.common.utils.CollectionUtils
Convert the supplied array into a List.
Assert - com.xunlei.channel.common.utils中的类
Assertion utility class that assists in validating arguments.
Assert() - 类 的构造器com.xunlei.channel.common.utils.Assert
 

B

buildArgsToInStatements(String[]) - 类 中的静态方法com.xunlei.channel.common.utils.sql.SqlUtils
Convert args array to mysql in statements.
buildUrlParams(String, Map<String, String>) - 类 中的静态方法com.xunlei.channel.common.utils.http.HttpUtils
 
byteArrayHashCode(byte[]) - 类 中的静态方法com.xunlei.channel.common.utils.network.NetWorkUtils
 

C

calculateTime(String, String, int) - 类 中的静态方法com.xunlei.channel.common.utils.date.DateUtils
已过时。
calculateTime(String, String, String, int) - 类 中的静态方法com.xunlei.channel.common.utils.date.DateUtils
日期/时间 计算
canParseInteger(String) - 类 中的静态方法com.xunlei.channel.common.utils.string.StringUtil
检测字符串能否转换成int
canParseLong(String) - 类 中的静态方法com.xunlei.channel.common.utils.string.StringUtil
检测字符串能否转换成long
capitalize(String) - 类 中的静态方法com.xunlei.channel.common.utils.string.StringUtils
 
caseInsensitiveValueOf(E[], String) - 类 中的静态方法com.xunlei.channel.common.utils.ObjectUtils
Case insensitive alternative to Enum.valueOf(Class, String).
checkSign(String, Map<String, String>, Set<String>, String) - 类 中的静态方法com.xunlei.channel.common.utils.sign.SignUtils
Check sign if sign result matches presents string.
checkSign(String, Map<String, String>, Set<String>, String, String) - 类 中的静态方法com.xunlei.channel.common.utils.sign.SignUtils
Check sign if sign result matches presents string.
checkSign(String, Map<String, String>, Set<String>, String, String, boolean) - 类 中的静态方法com.xunlei.channel.common.utils.sign.SignUtils
Check sign if sign result matches presents string.
checkSqlInject(String) - 类 中的静态方法com.xunlei.channel.common.utils.string.StringUtil
检查指定参数是否存在SQL注入漏洞
cleanPath(String) - 类 中的静态方法com.xunlei.channel.common.utils.string.StringUtils
 
collectionToCommaDelimitedString(Collection<?>) - 类 中的静态方法com.xunlei.channel.common.utils.string.StringUtils
 
collectionToDelimitedString(Collection<?>, String, String, String) - 类 中的静态方法com.xunlei.channel.common.utils.string.StringUtils
 
collectionToDelimitedString(Collection<?>, String) - 类 中的静态方法com.xunlei.channel.common.utils.string.StringUtils
 
CollectionUtils - com.xunlei.channel.common.utils中的类
Miscellaneous collection utility methods.
CollectionUtils() - 类 的构造器com.xunlei.channel.common.utils.CollectionUtils
 
com.xunlei.channel.common.utils - 程序包 com.xunlei.channel.common.utils
 
com.xunlei.channel.common.utils.arith - 程序包 com.xunlei.channel.common.utils.arith
 
com.xunlei.channel.common.utils.concurrent - 程序包 com.xunlei.channel.common.utils.concurrent
 
com.xunlei.channel.common.utils.currency - 程序包 com.xunlei.channel.common.utils.currency
 
com.xunlei.channel.common.utils.date - 程序包 com.xunlei.channel.common.utils.date
 
com.xunlei.channel.common.utils.encrypt - 程序包 com.xunlei.channel.common.utils.encrypt
 
com.xunlei.channel.common.utils.exception - 程序包 com.xunlei.channel.common.utils.exception
 
com.xunlei.channel.common.utils.http - 程序包 com.xunlei.channel.common.utils.http
 
com.xunlei.channel.common.utils.http.annotation - 程序包 com.xunlei.channel.common.utils.http.annotation
 
com.xunlei.channel.common.utils.ip - 程序包 com.xunlei.channel.common.utils.ip
 
com.xunlei.channel.common.utils.json - 程序包 com.xunlei.channel.common.utils.json
 
com.xunlei.channel.common.utils.map - 程序包 com.xunlei.channel.common.utils.map
 
com.xunlei.channel.common.utils.network - 程序包 com.xunlei.channel.common.utils.network
 
com.xunlei.channel.common.utils.object - 程序包 com.xunlei.channel.common.utils.object
 
com.xunlei.channel.common.utils.pattern - 程序包 com.xunlei.channel.common.utils.pattern
 
com.xunlei.channel.common.utils.payproxy - 程序包 com.xunlei.channel.common.utils.payproxy
 
com.xunlei.channel.common.utils.random - 程序包 com.xunlei.channel.common.utils.random
 
com.xunlei.channel.common.utils.reflect - 程序包 com.xunlei.channel.common.utils.reflect
 
com.xunlei.channel.common.utils.sequence - 程序包 com.xunlei.channel.common.utils.sequence
 
com.xunlei.channel.common.utils.sign - 程序包 com.xunlei.channel.common.utils.sign
 
com.xunlei.channel.common.utils.sql - 程序包 com.xunlei.channel.common.utils.sql
 
com.xunlei.channel.common.utils.string - 程序包 com.xunlei.channel.common.utils.string
 
commaDelimitedListToSet(String) - 类 中的静态方法com.xunlei.channel.common.utils.string.StringUtils
 
commaDelimitedListToStringArray(String) - 类 中的静态方法com.xunlei.channel.common.utils.string.StringUtils
 
CommonException - com.xunlei.channel.common.utils.exception中的异常错误
自定义异常
CommonException(String, String) - 异常错误 的构造器com.xunlei.channel.common.utils.exception.CommonException
 
compareTime(String, String, String) - 类 中的静态方法com.xunlei.channel.common.utils.date.DateUtils
比较时间前后
concat(char[]...) - 类 中的静态方法com.xunlei.channel.common.utils.string.StringUtils
Returns the values from each provided array combined into a single array.
concatenateStringArrays(String[], String[]) - 类 中的静态方法com.xunlei.channel.common.utils.string.StringUtils
 
contains(Iterator<?>, Object) - 类 中的静态方法com.xunlei.channel.common.utils.CollectionUtils
Check whether the given Iterator contains the given element.
contains(Enumeration<?>, Object) - 类 中的静态方法com.xunlei.channel.common.utils.CollectionUtils
Check whether the given Enumeration contains the given element.
containsAny(Collection<?>, Collection<?>) - 类 中的静态方法com.xunlei.channel.common.utils.CollectionUtils
Return true if any element in 'candidates' is contained in 'source'; otherwise returns false.
containsConstant(Enum<?>[], String) - 类 中的静态方法com.xunlei.channel.common.utils.ObjectUtils
Check whether the given array of enum constants contains a constant with the given name, ignoring case when determining a match.
containsConstant(Enum<?>[], String, boolean) - 类 中的静态方法com.xunlei.channel.common.utils.ObjectUtils
Check whether the given array of enum constants contains a constant with the given name.
containsElement(Object[], Object) - 类 中的静态方法com.xunlei.channel.common.utils.ObjectUtils
Check whether the given array contains the given element.
containsInstance(Collection<?>, Object) - 类 中的静态方法com.xunlei.channel.common.utils.CollectionUtils
Check whether the given Collection contains the given element instance.
containsWhitespace(CharSequence) - 类 中的静态方法com.xunlei.channel.common.utils.string.StringUtils
 
containsWhitespace(String) - 类 中的静态方法com.xunlei.channel.common.utils.string.StringUtils
 
convertIpAddressToInt(String) - 类 中的静态方法com.xunlei.channel.common.utils.ip.IpMaskUtils
 
convertJsonByClass(String, Class<T>) - 类 中的静态方法com.xunlei.channel.common.utils.JacksonHelper
 
convertObjectFieldsToMap(Object) - 类 中的静态方法com.xunlei.channel.common.utils.reflect.ReflectionUtils
 
convertObjectFieldsToMap(Object, Class) - 类 中的静态方法com.xunlei.channel.common.utils.reflect.ReflectionUtils
 
convertObjectFieldsToMap(Object, Class, boolean) - 类 中的静态方法com.xunlei.channel.common.utils.reflect.ReflectionUtils
 
convertToSignMap(Map<String, String>, Set<String>, boolean) - 类 中的静态方法com.xunlei.channel.common.utils.sign.SignUtils
 
convertXmlByClass(String, Class<T>) - 类 中的静态方法com.xunlei.channel.common.utils.XmlHelper
 
countOccurrencesOf(String, String) - 类 中的静态方法com.xunlei.channel.common.utils.string.StringUtils
 

D

dateDiffer(String, String, String) - 类 中的静态方法com.xunlei.channel.common.utils.date.DateUtils
返回两个时间之间的差(毫秒数)
DateUtils - com.xunlei.channel.common.utils.date中的类
时间工具类
DateUtils() - 类 的构造器com.xunlei.channel.common.utils.date.DateUtils
 
decryptData(String, String) - 类 中的静态方法com.xunlei.channel.common.utils.encrypt.DESEncrypt
 
DEFAULT_CHARSET - 类 中的静态变量com.xunlei.channel.common.utils.http.HttpUtils
 
DEFAULT_CHARSET - 类 中的静态变量com.xunlei.channel.common.utils.sign.SignUtils
 
DEFAULT_TIMEOUT - 类 中的静态变量com.xunlei.channel.common.utils.http.HttpUtils
 
delete(String, String) - 类 中的静态方法com.xunlei.channel.common.utils.string.StringUtils
 
deleteAny(String, String) - 类 中的静态方法com.xunlei.channel.common.utils.string.StringUtils
 
delimitedListToStringArray(String, String) - 类 中的静态方法com.xunlei.channel.common.utils.string.StringUtils
 
delimitedListToStringArray(String, String, String) - 类 中的静态方法com.xunlei.channel.common.utils.string.StringUtils
 
DESEncrypt - com.xunlei.channel.common.utils.encrypt中的类
目前用于捷迅无线充值卡支付加密,是否具有通用性暂不知
DESEncrypt() - 类 的构造器com.xunlei.channel.common.utils.encrypt.DESEncrypt
 
DigestUtils - com.xunlei.channel.common.utils.sign中的类
Miscellaneous methods for calculating digests.
DigestUtils() - 类 的构造器com.xunlei.channel.common.utils.sign.DigestUtils
 
div(double, double) - 类 中的静态方法com.xunlei.channel.common.utils.arith.Arith
提供(相对)精确的除法运算,当发生除不尽的情况时, 精确到小数点以后10位,以后的数字四舍五入。
div(double, double, int) - 类 中的静态方法com.xunlei.channel.common.utils.arith.Arith
提供(相对)精确的除法运算。
doesNotContain(String, String, String) - 类 中的静态方法com.xunlei.channel.common.utils.Assert
Assert that the given text does not contain the given substring.
doesNotContain(String, String) - 类 中的静态方法com.xunlei.channel.common.utils.Assert
Assert that the given text does not contain the given substring.
doPost(Object, String, String, int) - 类 中的静态方法com.xunlei.channel.common.utils.http.ParameteredHttpUtils
 
doPost(Map<String, String>, String, String, int) - 类 中的静态方法com.xunlei.channel.common.utils.http.ParameteredHttpUtils
 
doPost(HttpParameterHandler<?>, Object, String, String, int) - 类 中的静态方法com.xunlei.channel.common.utils.http.ParameteredHttpUtils
 
doPostWithParameterHandler(HttpParameterHandler<T>, T, String, String, int) - 类 中的静态方法com.xunlei.channel.common.utils.http.ParameteredHttpUtils
 
doubleYuanToIntFen(String) - 类 中的静态方法com.xunlei.channel.common.utils.currency.AmountUtil
 

E

encode(String) - 类 中的静态方法com.xunlei.channel.common.utils.encrypt.Md5Encrypt
MD5加密,默认使用GBK编码
encode(String, String) - 类 中的静态方法com.xunlei.channel.common.utils.encrypt.Md5Encrypt
MD5加密
ENCODING - 类 中的静态变量com.xunlei.channel.common.utils.encrypt.RSASignature
 
encryptData(String, String) - 类 中的静态方法com.xunlei.channel.common.utils.encrypt.DESEncrypt
 
endsWithIgnoreCase(String, String) - 类 中的静态方法com.xunlei.channel.common.utils.string.StringUtils
 
executeRequest(HttpRequestBase, String, int) - 类 中的静态方法com.xunlei.channel.common.utils.http.HttpUtils
 

F

fenToyuan(String) - 类 中的静态方法com.xunlei.channel.common.utils.arith.UnitArith
分变元,并保留两位小数
fenToyuan(double) - 类 中的静态方法com.xunlei.channel.common.utils.arith.UnitArith
分变元,并保留两位小数
fillZero(String, int) - 类 中的静态方法com.xunlei.channel.common.utils.string.StringUtils
 
findCommonElementType(Collection<?>) - 类 中的静态方法com.xunlei.channel.common.utils.CollectionUtils
Find the common element type of the given Collection, if any.
findFieldNames(Class, boolean) - 类 中的静态方法com.xunlei.channel.common.utils.reflect.ReflectionUtils
 
findFields(Class, boolean) - 类 中的静态方法com.xunlei.channel.common.utils.reflect.ReflectionUtils
 
findFirstMatch(Collection<?>, Collection<E>) - 类 中的静态方法com.xunlei.channel.common.utils.CollectionUtils
Return the first element in 'candidates' that is contained in 'source'.
findGetMethod(Field) - 类 中的静态方法com.xunlei.channel.common.utils.reflect.ReflectionUtils
 
findValueOfType(Collection<?>, Class<T>) - 类 中的静态方法com.xunlei.channel.common.utils.CollectionUtils
Find a single value of the given type in the given Collection.
findValueOfType(Collection<?>, Class<?>[]) - 类 中的静态方法com.xunlei.channel.common.utils.CollectionUtils
Find a single value of one of the given types in the given Collection: searching the Collection for a value of the first type, then searching for a value of the second type, etc.

G

GBK - 类 中的静态变量com.xunlei.channel.common.utils.encrypt.Md5Encrypt
 
generateSequence() - 类 中的静态方法com.xunlei.channel.common.utils.sequence.SequenceGenerator
生成序列号。
generateSequence(int) - 类 中的静态方法com.xunlei.channel.common.utils.sequence.SequenceGenerator
指定并发度并且生成序列号
generateSerialNumber() - 类 中的静态方法com.xunlei.channel.common.utils.string.StringUtil
生成永不重复的流水号,规则为yyyyMMddHHmmss加上6位随机数字,总共20位
generateString(int) - 类 中的静态方法com.xunlei.channel.common.utils.string.StringUtil
返回一个定长的随机字符串(只包含数字)
getClient(int) - 类 中的静态方法com.xunlei.channel.common.utils.http.HttpUtils
 
getClient() - 类 中的静态方法com.xunlei.channel.common.utils.http.HttpUtils
 
getCurrentTime(String) - 类 中的静态方法com.xunlei.channel.common.utils.date.DateUtils
获得指定格式的当前时间
getDateAfterDays(Date, int) - 类 中的静态方法com.xunlei.channel.common.utils.date.DateUtils
 
getDateFormat(String) - 类 中的静态方法com.xunlei.channel.common.utils.date.DateUtils
 
getDays(int) - 类 中的静态方法com.xunlei.channel.common.utils.date.DateUtils
返回指定天数的字符串
getDayString(String, int) - 类 中的静态方法com.xunlei.channel.common.utils.date.DateUtils
返回指定天数的字符串
getDisplayString(Object) - 类 中的静态方法com.xunlei.channel.common.utils.ObjectUtils
Return a content-based String representation if obj is not null; otherwise returns an empty String.
getErrCode() - 异常错误 中的方法com.xunlei.channel.common.utils.exception.CommonException
 
getFieldParameterName(Field) - 类 中的静态方法com.xunlei.channel.common.utils.http.HttpParameterHandler
 
getFieldValue(Field, Object) - 类 中的静态方法com.xunlei.channel.common.utils.reflect.ReflectionUtils
 
getFilename(String) - 类 中的静态方法com.xunlei.channel.common.utils.string.StringUtils
 
getFilenameExtension(String) - 类 中的静态方法com.xunlei.channel.common.utils.string.StringUtils
 
getFirst(K) - 接口 中的方法com.xunlei.channel.common.utils.MultiValueMap
Return the first value for the given key.
getFirstDateOfMonth() - 类 中的静态方法com.xunlei.channel.common.utils.date.DateUtils
当月第一天
getFirstDateStrOfMonth() - 类 中的静态方法com.xunlei.channel.common.utils.date.DateUtils
当月第一天
getFirstDayOfMonth(String) - 类 中的静态方法com.xunlei.channel.common.utils.date.DateUtils
获取当月第一天
getHeaderNameOfXForwardFor(HttpServletRequest) - 类 中的静态方法com.xunlei.channel.common.utils.ip.RemoteIpUtils
 
getHostAndPort(String) - 类 中的静态方法com.xunlei.channel.common.utils.pattern.PatternUtils
 
getHostIp(InetAddress) - 类 中的静态方法com.xunlei.channel.common.utils.network.NetWorkUtils
 
getHostName() - 类 中的静态方法com.xunlei.channel.common.utils.network.NetWorkUtils
 
getHostName(InetAddress) - 类 中的静态方法com.xunlei.channel.common.utils.network.NetWorkUtils
 
getIdentityHexString(Object) - 类 中的静态方法com.xunlei.channel.common.utils.ObjectUtils
Return a hex String form of an object's identity hash code.
getInetAddress() - 类 中的静态方法com.xunlei.channel.common.utils.network.NetWorkUtils
 
getIpFromRequest(HttpServletRequest) - 类 中的静态方法com.xunlei.channel.common.utils.ip.RemoteIpUtils
 
getJsonString(Object) - 类 中的静态方法com.xunlei.channel.common.utils.JacksonHelper
 
getKeyValueStr(Map<String, Object>) - 类 中的静态方法com.xunlei.channel.common.utils.map.KeyValueUtil
从Map中获取key=value字符串 包含key为null或者"" 和 value为null或者"" 的属性
getKeyValueStrEnc(Map<String, String>, String) - 类 中的静态方法com.xunlei.channel.common.utils.map.KeyValueUtil
从Map中获取key=value字符串(跳过空值),并对value值进行urlencode编码
getKeyValueStrTrim(Map<String, Object>) - 类 中的静态方法com.xunlei.channel.common.utils.map.KeyValueUtil
从Map中获取key=value字符串 跳过key为null或者"" 和 value为null或者"" 的属性
getKeyValueStrTrim(Object) - 类 中的静态方法com.xunlei.channel.common.utils.map.KeyValueUtil
从对象中获取key=value字符串,对象中的属性应该为基本数据类型或者重写toString方法的对象
跳过key为null或者"" 和 value为null或者"" 的属性
该方法会对参数进行字母顺序排序
getKeyValueStrTrimWithMark(Map<String, Object>) - 类 中的静态方法com.xunlei.channel.common.utils.map.KeyValueUtil
从Map中获取key=value字符串(该方法value会带双引号) 跳过key为null或者"" 和 value为null或者"" 的属性
getKeyValueStrTrimWithMark(Object) - 类 中的静态方法com.xunlei.channel.common.utils.map.KeyValueUtil
从对象中获取key=value字符串,对象中的属性应该为基本数据类型或者重写toString方法的对象
跳过key为null或者"" 和 value为null或者"" 的属性
该方法会对参数进行字母顺序排序 该方法返回的value会带双引号
getLastTime(Date) - 类 中的静态方法com.xunlei.channel.common.utils.date.DateUtils
获取日期的最后秒的时间(即一天的结束时间)
getLock(Object) - 类 中的方法com.xunlei.channel.common.utils.concurrent.LockSupport
 
getMachineNumberBySequence(String) - 类 中的静态方法com.xunlei.channel.common.utils.sequence.SequenceGenerator
 
getMapFromObject(Object) - 类 中的静态方法com.xunlei.channel.common.utils.object.ObjectUtil
从对象中获取Map 跳过key为null或者""的属性,值为null或者""的属性会被包含
getMapFromObjectTrim(Object) - 类 中的静态方法com.xunlei.channel.common.utils.object.ObjectUtil
从对象中获取Map 跳过key为null或者""的属性,跳过value为null或者""的属性
getNowDate() - 类 中的静态方法com.xunlei.channel.common.utils.date.DateUtils
 
getNowDateTime() - 类 中的静态方法com.xunlei.channel.common.utils.date.DateUtils
 
getObjectFromMap(Map<String, Object>, Class) - 类 中的静态方法com.xunlei.channel.common.utils.object.ObjectUtil
从Map中获取对象
getParameterMap(T) - 类 中的方法com.xunlei.channel.common.utils.http.HttpParameterHandler
 
getParameterMapWithObject(Object) - 类 中的方法com.xunlei.channel.common.utils.http.HttpParameterHandler
 
getPayProxyYearSeason(String) - 类 中的静态方法com.xunlei.channel.common.utils.payproxy.PayProxyUtils
根据日期字段获取年和季度,格式必须是:yyyy-MM-dd*
getPrivateKey(String) - 类 中的静态方法com.xunlei.channel.common.utils.encrypt.RSASignature
获取私钥
getPublicKey(String) - 类 中的静态方法com.xunlei.channel.common.utils.encrypt.RSASignature
获取公钥
getSeason(String) - 类 中的静态方法com.xunlei.channel.common.utils.date.DateUtils
获取日期所属的季度(从1开始)。
getTimeAfter(int, int, String) - 类 中的静态方法com.xunlei.channel.common.utils.date.DateUtils
获取指定格式的某时间,例如1小时前 或者1小时后
getUnixTime() - 类 中的静态方法com.xunlei.channel.common.utils.date.DateUtils
 
getUnsignedInt(int) - 类 中的静态方法com.xunlei.channel.common.utils.network.NetWorkUtils
 
getUrl(String, String) - 类 中的静态方法com.xunlei.channel.common.utils.http.HttpUtils
 
getWidthMachineNumber() - 类 中的静态方法com.xunlei.channel.common.utils.network.NetWorkUtils
获取等宽的机器码,相同的机器每次都是获取相同值
getWidthMachineNumber(int) - 类 中的静态方法com.xunlei.channel.common.utils.network.NetWorkUtils
获取等宽的机器码,相同的机器每次都是获取相同值
getXmlString(Object) - 类 中的静态方法com.xunlei.channel.common.utils.XmlHelper
 
getYear(String) - 类 中的静态方法com.xunlei.channel.common.utils.date.DateUtils
获取日期的年份
getZeroTime(Date) - 类 中的静态方法com.xunlei.channel.common.utils.date.DateUtils
获取日期的0点时间(即一天的开始)

H

hashCode(boolean) - 类 中的静态方法com.xunlei.channel.common.utils.ObjectUtils
Return the same value as Boolean.hashCode()}.
hashCode(double) - 类 中的静态方法com.xunlei.channel.common.utils.ObjectUtils
Return the same value as Double.hashCode()}.
hashCode(float) - 类 中的静态方法com.xunlei.channel.common.utils.ObjectUtils
Return the same value as Float.hashCode()}.
hashCode(long) - 类 中的静态方法com.xunlei.channel.common.utils.ObjectUtils
Return the same value as Long.hashCode()}.
hasLength(String, String) - 类 中的静态方法com.xunlei.channel.common.utils.Assert
Assert that the given String is not empty; that is, it must not be null and not the empty String.
hasLength(String) - 类 中的静态方法com.xunlei.channel.common.utils.Assert
Assert that the given String is not empty; that is, it must not be null and not the empty String.
hasLength(CharSequence) - 类 中的静态方法com.xunlei.channel.common.utils.string.StringUtils
 
hasLength(String) - 类 中的静态方法com.xunlei.channel.common.utils.string.StringUtils
 
hasText(String, String) - 类 中的静态方法com.xunlei.channel.common.utils.Assert
Assert that the given String has valid text content; that is, it must not be null and must contain at least one non-whitespace character.
hasText(String) - 类 中的静态方法com.xunlei.channel.common.utils.Assert
Assert that the given String has valid text content; that is, it must not be null and must contain at least one non-whitespace character.
hasText(CharSequence) - 类 中的静态方法com.xunlei.channel.common.utils.string.StringUtils
 
hasText(String) - 类 中的静态方法com.xunlei.channel.common.utils.string.StringUtils
 
hasUniqueObject(Collection<?>) - 类 中的静态方法com.xunlei.channel.common.utils.CollectionUtils
Determine whether the given Collection only contains a single unique object.
HOST_PATTERN - 类 中的静态变量com.xunlei.channel.common.utils.pattern.PatternUtils
 
HOST_PORT_PATTERN - 类 中的静态变量com.xunlei.channel.common.utils.pattern.PatternUtils
 
HTTP_HOST_PATTERN - 类 中的静态变量com.xunlei.channel.common.utils.pattern.PatternUtils
 
HTTP_HOST_PORT_PATTERN - 类 中的静态变量com.xunlei.channel.common.utils.pattern.PatternUtils
 
HttpParameter - com.xunlei.channel.common.utils.http.annotation中的注释类型
 
HttpParameterHandler<T> - com.xunlei.channel.common.utils.http中的类
 
HttpParameterHandler(Class<T>) - 类 的构造器com.xunlei.channel.common.utils.http.HttpParameterHandler
 
HttpReflectionUtils - com.xunlei.channel.common.utils.reflect中的类
 
HttpReflectionUtils() - 类 的构造器com.xunlei.channel.common.utils.reflect.HttpReflectionUtils
 
HTTPS_HOST_PATTERN - 类 中的静态变量com.xunlei.channel.common.utils.pattern.PatternUtils
 
HTTPS_HOST_PORT_PATTERN - 类 中的静态变量com.xunlei.channel.common.utils.pattern.PatternUtils
 
HttpUtils - com.xunlei.channel.common.utils.http中的类
 
HttpUtils() - 类 的构造器com.xunlei.channel.common.utils.http.HttpUtils
 

I

identityToString(Object) - 类 中的静态方法com.xunlei.channel.common.utils.ObjectUtils
Return a String representation of an object's overall identity.
IpMaskUtils - com.xunlei.channel.common.utils.ip中的类
 
IpMaskUtils() - 类 的构造器com.xunlei.channel.common.utils.ip.IpMaskUtils
 
ipV4ToLong(String) - 类 中的静态方法com.xunlei.channel.common.utils.ip.RemoteIpUtils
 
isArray(Object) - 类 中的静态方法com.xunlei.channel.common.utils.ObjectUtils
Determine whether the given object is an array: either an Object array or a primitive array.
isAssignable(Class<?>, Class<?>) - 类 中的静态方法com.xunlei.channel.common.utils.Assert
Assert that superType.isAssignableFrom(subType) is true.
isAssignable(Class<?>, Class<?>, String) - 类 中的静态方法com.xunlei.channel.common.utils.Assert
Assert that superType.isAssignableFrom(subType) is true.
isCheckedException(Throwable) - 类 中的静态方法com.xunlei.channel.common.utils.ObjectUtils
Return whether the given throwable is a checked exception: that is, neither a RuntimeException nor an Error.
isCompatibleWithThrowsClause(Throwable, Class<?>...) - 类 中的静态方法com.xunlei.channel.common.utils.ObjectUtils
Check whether the given exception is compatible with the specified exception types, as declared in a throws clause.
isDigit(String) - 类 中的静态方法com.xunlei.channel.common.utils.string.StringUtil
检测字符串是否为数字
isEmpty(Collection<?>) - 类 中的静态方法com.xunlei.channel.common.utils.CollectionUtils
Return true if the supplied Collection is null or empty.
isEmpty(Map<?, ?>) - 类 中的静态方法com.xunlei.channel.common.utils.CollectionUtils
Return true if the supplied Map is null or empty.
isEmpty(Object[]) - 类 中的静态方法com.xunlei.channel.common.utils.ObjectUtils
Determine whether the given array is empty: i.e.
isEmpty(Object) - 类 中的静态方法com.xunlei.channel.common.utils.ObjectUtils
Determine whether the given object is empty.
isEmpty(Object) - 类 中的静态方法com.xunlei.channel.common.utils.string.StringUtils
 
isInstanceOf(Class<?>, Object) - 类 中的静态方法com.xunlei.channel.common.utils.Assert
Assert that the provided object is an instance of the provided class.
isInstanceOf(Class<?>, Object, String) - 类 中的静态方法com.xunlei.channel.common.utils.Assert
Assert that the provided object is an instance of the provided class.
isIpInMask(String, String) - 类 中的静态方法com.xunlei.channel.common.utils.ip.IpMaskUtils
 
isIpInMask(int, int, int) - 类 中的静态方法com.xunlei.channel.common.utils.ip.IpMaskUtils
 
isIPv4Private(String) - 类 中的静态方法com.xunlei.channel.common.utils.ip.RemoteIpUtils
 
isIPv4Valid(String) - 类 中的静态方法com.xunlei.channel.common.utils.ip.RemoteIpUtils
 
isNull(Object, String) - 类 中的静态方法com.xunlei.channel.common.utils.Assert
Assert that an object is null .
isNull(Object) - 类 中的静态方法com.xunlei.channel.common.utils.Assert
Assert that an object is null .
isTrue(boolean, String) - 类 中的静态方法com.xunlei.channel.common.utils.Assert
Assert a boolean expression, throwing IllegalArgumentException if the test result is false.
isTrue(boolean) - 类 中的静态方法com.xunlei.channel.common.utils.Assert
Assert a boolean expression, throwing IllegalArgumentException if the test result is false.

J

JacksonHelper - com.xunlei.channel.common.utils中的类
 
JacksonHelper() - 类 的构造器com.xunlei.channel.common.utils.JacksonHelper
 
jsonToArray(String) - 类 中的静态方法com.xunlei.channel.common.utils.json.JsonUtil
从json字串中得到相应java数组
jsonToMap(String) - 类 中的静态方法com.xunlei.channel.common.utils.json.JsonUtil
从json HASH表达式中获取一个map
jsonToObject(String, Class<T>) - 类 中的静态方法com.xunlei.channel.common.utils.json.JsonUtil
从一个JSON对象字符格式中得到一个java对象 说明:Bean的无参构造函数一定要写, 否则会报异常
JsonUtil - com.xunlei.channel.common.utils.json中的类
使用jsonlib.jar来解析生成json 需要引入jsonlib.jar和ezmorph-1.0.6.jar
JsonUtil() - 类 的构造器com.xunlei.channel.common.utils.json.JsonUtil
 

K

KEY_ALGORITHM - 类 中的静态变量com.xunlei.channel.common.utils.encrypt.RSASignature
 
KeyValueUtil - com.xunlei.channel.common.utils.map中的类
键值对工具类
KeyValueUtil() - 类 的构造器com.xunlei.channel.common.utils.map.KeyValueUtil
 
KV_DELIMITER - 类 中的静态变量com.xunlei.channel.common.utils.reflect.HttpReflectionUtils
 

L

letters() - 类 中的静态方法com.xunlei.channel.common.utils.string.Words
 
LockSupport - com.xunlei.channel.common.utils.concurrent中的类
 
longToIpV4(long) - 类 中的静态方法com.xunlei.channel.common.utils.ip.RemoteIpUtils
 
LOW_CASE_X_FORWARD - 类 中的静态变量com.xunlei.channel.common.utils.ip.RemoteIpUtils
 
lowerCaseLetters - 类 中的静态变量com.xunlei.channel.common.utils.string.Words
 
lowerCaseLetters() - 类 中的静态方法com.xunlei.channel.common.utils.string.Words
 

M

main(String[]) - 类 中的静态方法com.xunlei.channel.common.utils.network.NetWorkUtils
 
main(String[]) - 类 中的静态方法com.xunlei.channel.common.utils.pattern.PatternUtils
 
mapToJson(Map<String, Object>) - 类 中的静态方法com.xunlei.channel.common.utils.json.JsonUtil
从Map对象得到Json字串
mapToSortedMap(Map<String, Object>) - 类 中的静态方法com.xunlei.channel.common.utils.object.ObjectUtil
把一般Map转换成sortedMap
md5(String, String) - 类 中的静态方法com.xunlei.channel.common.utils.sign.SignUtils
 
md5Digest(byte[]) - 类 中的静态方法com.xunlei.channel.common.utils.sign.DigestUtils
Calculate the MD5 digest of the given bytes.
md5DigestAsHex(byte[]) - 类 中的静态方法com.xunlei.channel.common.utils.sign.DigestUtils
Return a hexadecimal string representation of the MD5 digest of the given bytes.
Md5Encrypt - com.xunlei.channel.common.utils.encrypt中的类
 
Md5Encrypt() - 类 的构造器com.xunlei.channel.common.utils.encrypt.Md5Encrypt
 
mergeArrayIntoCollection(Object, Collection<E>) - 类 中的静态方法com.xunlei.channel.common.utils.CollectionUtils
Merge the given array into the given Collection.
mergePropertiesIntoMap(Properties, Map<K, V>) - 类 中的静态方法com.xunlei.channel.common.utils.CollectionUtils
Merge the given Properties instance into the given Map, copying all properties (key-value pairs) over.
mergeStringArrays(String[], String[]) - 类 中的静态方法com.xunlei.channel.common.utils.string.StringUtils
 
mul(double, double) - 类 中的静态方法com.xunlei.channel.common.utils.arith.Arith
提供精确的乘法运算。
MultiValueMap<K,V> - com.xunlei.channel.common.utils中的接口
Extension of the Map interface that stores multiple values.

N

NetWorkUtils - com.xunlei.channel.common.utils.network中的类
 
NetWorkUtils() - 类 的构造器com.xunlei.channel.common.utils.network.NetWorkUtils
 
newConfiguredMapper() - 类 中的静态方法com.xunlei.channel.common.utils.JacksonHelper
 
newConfiguredMapper() - 类 中的静态方法com.xunlei.channel.common.utils.XmlHelper
 
newInstance(int) - 类 中的静态方法com.xunlei.channel.common.utils.concurrent.LockSupport
 
newMapper() - 类 中的静态方法com.xunlei.channel.common.utils.JacksonHelper
 
newMapper() - 类 中的静态方法com.xunlei.channel.common.utils.XmlHelper
 
newRandomStringUtils(boolean) - 类 中的静态方法com.xunlei.channel.common.utils.random.RandomUtils
 
noNullElements(Object[], String) - 类 中的静态方法com.xunlei.channel.common.utils.Assert
Assert that an array has no null elements.
noNullElements(Object[]) - 类 中的静态方法com.xunlei.channel.common.utils.Assert
Assert that an array has no null elements.
notEmpty(Object[], String) - 类 中的静态方法com.xunlei.channel.common.utils.Assert
Assert that an array has elements; that is, it must not be null and must have at least one element.
notEmpty(Object[]) - 类 中的静态方法com.xunlei.channel.common.utils.Assert
Assert that an array has elements; that is, it must not be null and must have at least one element.
notEmpty(Collection<?>, String) - 类 中的静态方法com.xunlei.channel.common.utils.Assert
Assert that a collection has elements; that is, it must not be null and must have at least one element.
notEmpty(Collection<?>) - 类 中的静态方法com.xunlei.channel.common.utils.Assert
Assert that a collection has elements; that is, it must not be null and must have at least one element.
notEmpty(Map<?, ?>, String) - 类 中的静态方法com.xunlei.channel.common.utils.Assert
Assert that a Map has entries; that is, it must not be null and must have at least one entry.
notEmpty(Map<?, ?>) - 类 中的静态方法com.xunlei.channel.common.utils.Assert
Assert that a Map has entries; that is, it must not be null and must have at least one entry.
notNull(Object, String) - 类 中的静态方法com.xunlei.channel.common.utils.Assert
Assert that an object is not null .
notNull(Object) - 类 中的静态方法com.xunlei.channel.common.utils.Assert
Assert that an object is not null .
nullSafeClassName(Object) - 类 中的静态方法com.xunlei.channel.common.utils.ObjectUtils
Determine the class name for the given object.
nullSafeEquals(Object, Object) - 类 中的静态方法com.xunlei.channel.common.utils.ObjectUtils
Determine if the given objects are equal, returning true if both are null or false if only one is null.
nullSafeHashCode(Object) - 类 中的静态方法com.xunlei.channel.common.utils.ObjectUtils
Return as hash code for the given object; typically the value of Object#hashCode()}.
nullSafeHashCode(Object[]) - 类 中的静态方法com.xunlei.channel.common.utils.ObjectUtils
Return a hash code based on the contents of the specified array.
nullSafeHashCode(boolean[]) - 类 中的静态方法com.xunlei.channel.common.utils.ObjectUtils
Return a hash code based on the contents of the specified array.
nullSafeHashCode(byte[]) - 类 中的静态方法com.xunlei.channel.common.utils.ObjectUtils
Return a hash code based on the contents of the specified array.
nullSafeHashCode(char[]) - 类 中的静态方法com.xunlei.channel.common.utils.ObjectUtils
Return a hash code based on the contents of the specified array.
nullSafeHashCode(double[]) - 类 中的静态方法com.xunlei.channel.common.utils.ObjectUtils
Return a hash code based on the contents of the specified array.
nullSafeHashCode(float[]) - 类 中的静态方法com.xunlei.channel.common.utils.ObjectUtils
Return a hash code based on the contents of the specified array.
nullSafeHashCode(int[]) - 类 中的静态方法com.xunlei.channel.common.utils.ObjectUtils
Return a hash code based on the contents of the specified array.
nullSafeHashCode(long[]) - 类 中的静态方法com.xunlei.channel.common.utils.ObjectUtils
Return a hash code based on the contents of the specified array.
nullSafeHashCode(short[]) - 类 中的静态方法com.xunlei.channel.common.utils.ObjectUtils
Return a hash code based on the contents of the specified array.
nullSafeToString(Object) - 类 中的静态方法com.xunlei.channel.common.utils.ObjectUtils
Return a String representation of the specified Object.
nullSafeToString(Object[]) - 类 中的静态方法com.xunlei.channel.common.utils.ObjectUtils
Return a String representation of the contents of the specified array.
nullSafeToString(boolean[]) - 类 中的静态方法com.xunlei.channel.common.utils.ObjectUtils
Return a String representation of the contents of the specified array.
nullSafeToString(byte[]) - 类 中的静态方法com.xunlei.channel.common.utils.ObjectUtils
Return a String representation of the contents of the specified array.
nullSafeToString(char[]) - 类 中的静态方法com.xunlei.channel.common.utils.ObjectUtils
Return a String representation of the contents of the specified array.
nullSafeToString(double[]) - 类 中的静态方法com.xunlei.channel.common.utils.ObjectUtils
Return a String representation of the contents of the specified array.
nullSafeToString(float[]) - 类 中的静态方法com.xunlei.channel.common.utils.ObjectUtils
Return a String representation of the contents of the specified array.
nullSafeToString(int[]) - 类 中的静态方法com.xunlei.channel.common.utils.ObjectUtils
Return a String representation of the contents of the specified array.
nullSafeToString(long[]) - 类 中的静态方法com.xunlei.channel.common.utils.ObjectUtils
Return a String representation of the contents of the specified array.
nullSafeToString(short[]) - 类 中的静态方法com.xunlei.channel.common.utils.ObjectUtils
Return a String representation of the contents of the specified array.
numbers - 类 中的静态变量com.xunlei.channel.common.utils.string.Words
 
numbers() - 类 中的静态方法com.xunlei.channel.common.utils.string.Words
 

O

objectToJson(Object) - 类 中的静态方法com.xunlei.channel.common.utils.json.JsonUtil
将java对象转换成json字符串
ObjectUtil - com.xunlei.channel.common.utils.object中的类
提供对象与map map与对象 等基础转换
ObjectUtil() - 类 的构造器com.xunlei.channel.common.utils.object.ObjectUtil
 
ObjectUtils - com.xunlei.channel.common.utils中的类
Miscellaneous object utility methods.
ObjectUtils() - 类 的构造器com.xunlei.channel.common.utils.ObjectUtils
 

P

PAIRS_DELIMITER - 类 中的静态变量com.xunlei.channel.common.utils.reflect.HttpReflectionUtils
 
ParameteredHttpUtils - com.xunlei.channel.common.utils.http中的类
 
ParameteredHttpUtils() - 类 的构造器com.xunlei.channel.common.utils.http.ParameteredHttpUtils
 
ParameterIgnore - com.xunlei.channel.common.utils.http.annotation中的注释类型
 
parseDateByFormat(String, String) - 类 中的静态方法com.xunlei.channel.common.utils.date.DateUtils
 
parseField(Field) - 类 中的静态方法com.xunlei.channel.common.utils.http.HttpParameterHandler
 
parseHttpResponseToInstance(String, Class<T>) - 类 中的静态方法com.xunlei.channel.common.utils.reflect.HttpReflectionUtils
 
parseHttpResponseToMap(String) - 类 中的静态方法com.xunlei.channel.common.utils.reflect.HttpReflectionUtils
 
parseLocaleString(String) - 类 中的静态方法com.xunlei.channel.common.utils.string.StringUtils
 
parseMapToHttpParameters(Map<String, String>) - 类 中的静态方法com.xunlei.channel.common.utils.http.HttpUtils
 
parseMapToPairs(Map<String, String>) - 类 中的静态方法com.xunlei.channel.common.utils.http.HttpUtils
 
parseMethod(Field) - 类 中的静态方法com.xunlei.channel.common.utils.http.HttpParameterHandler
 
parseSubnetConfig(String) - 类 中的静态方法com.xunlei.channel.common.utils.ip.IpMaskUtils
 
parseTime(String, String, String) - 类 中的静态方法com.xunlei.channel.common.utils.date.DateUtils
将时间以指定格式格式化
parseTimeZoneString(String) - 类 中的静态方法com.xunlei.channel.common.utils.string.StringUtils
 
pathEquals(String, String) - 类 中的静态方法com.xunlei.channel.common.utils.string.StringUtils
 
pattern - 类 中的静态变量com.xunlei.channel.common.utils.ip.RemoteIpUtils
 
PatternUtils - com.xunlei.channel.common.utils.pattern中的类
 
PatternUtils() - 类 的构造器com.xunlei.channel.common.utils.pattern.PatternUtils
 
PayProxyUtils - com.xunlei.channel.common.utils.payproxy中的类
老网关的工具
PayProxyUtils() - 类 的构造器com.xunlei.channel.common.utils.payproxy.PayProxyUtils
 
post(String, HttpEntity, String, int) - 类 中的静态方法com.xunlei.channel.common.utils.http.HttpUtils
 
post(String, String, String, int) - 类 中的静态方法com.xunlei.channel.common.utils.http.HttpUtils
 

Q

quote(String) - 类 中的静态方法com.xunlei.channel.common.utils.string.StringUtils
 
quoteIfString(Object) - 类 中的静态方法com.xunlei.channel.common.utils.string.StringUtils
 

R

randomNumberString(int) - 类 中的方法com.xunlei.channel.common.utils.random.RandomUtils.RandomStringUtils
Produce random number strings.
RandomStringUtils(boolean) - 类 的构造器com.xunlei.channel.common.utils.random.RandomUtils.RandomStringUtils
 
RandomUtils - com.xunlei.channel.common.utils.random中的类
 
RandomUtils() - 类 的构造器com.xunlei.channel.common.utils.random.RandomUtils
 
RandomUtils.RandomStringUtils - com.xunlei.channel.common.utils.random中的类
 
randomWordString(int) - 类 中的方法com.xunlei.channel.common.utils.random.RandomUtils.RandomStringUtils
Produce random word strings.
readResponse(HttpResponse, String) - 类 中的静态方法com.xunlei.channel.common.utils.http.HttpUtils
 
readSourceKey(String) - 类 中的静态方法com.xunlei.channel.common.utils.encrypt.RSASignature
从文件中读取密钥字符串 unSafe
ReflectionUtils - com.xunlei.channel.common.utils.reflect中的类
 
ReflectionUtils() - 类 的构造器com.xunlei.channel.common.utils.reflect.ReflectionUtils
 
RemoteIpUtils - com.xunlei.channel.common.utils.ip中的类
 
RemoteIpUtils() - 类 的构造器com.xunlei.channel.common.utils.ip.RemoteIpUtils
 
removeDuplicateStrings(String[]) - 类 中的静态方法com.xunlei.channel.common.utils.string.StringUtils
 
replace(String, String, String) - 类 中的静态方法com.xunlei.channel.common.utils.string.StringUtils
 
round(double, int) - 类 中的静态方法com.xunlei.channel.common.utils.arith.Arith
提供精确的小数位四舍五入处理。
RSASignature - com.xunlei.channel.common.utils.encrypt中的类
RSA加密工具类 生成RSA相关密钥,在安装有openssl的linux下执行以下命令,私钥己方保存,公钥对外公开,签名时使用私钥加密,公钥解密 1.生成RSA私钥 openssl genrsa -out rsaprivatekey.pem 1024 2.生成对应RSA公钥 openssl rsa -in rsaprivatekey.pem -pubout -out rsapublickey.pem 3.将RSA私钥转换成PKCS8格式 openssl pkcs8 -topk8 -inform PEM -in rsaprivatekey.pem -outform PEM -nocrypt -out rsaprivatepkcs8.pem
RSASignature() - 类 的构造器com.xunlei.channel.common.utils.encrypt.RSASignature
 

S

SequenceGenerator - com.xunlei.channel.common.utils.sequence中的类
SequenceNumber generator.
SequenceGenerator() - 类 的构造器com.xunlei.channel.common.utils.sequence.SequenceGenerator
 
set(K, V) - 接口 中的方法com.xunlei.channel.common.utils.MultiValueMap
Set the given single value under the given key.
setAll(Map<K, V>) - 接口 中的方法com.xunlei.channel.common.utils.MultiValueMap
Set the given values under.
setErrCode(String) - 异常错误 中的方法com.xunlei.channel.common.utils.exception.CommonException
 
setFieldValueToInstance(String, String, T, Field[]) - 类 中的静态方法com.xunlei.channel.common.utils.reflect.ReflectionUtils
 
sign(Map<String, String>, Set<String>, String, String, boolean) - 类 中的静态方法com.xunlei.channel.common.utils.sign.SignUtils
Sign the params to md5 message.
SIGNATURE_ALGORITHM - 类 中的静态变量com.xunlei.channel.common.utils.encrypt.RSASignature
 
signByPrivateKey(String, String) - 类 中的静态方法com.xunlei.channel.common.utils.encrypt.RSASignature
RSA私钥签名
SignUtils - com.xunlei.channel.common.utils.sign中的类
Sign utils.
SignUtils() - 类 的构造器com.xunlei.channel.common.utils.sign.SignUtils
 
sortStringArray(String[]) - 类 中的静态方法com.xunlei.channel.common.utils.string.StringUtils
 
SP1 - 类 中的静态变量com.xunlei.channel.common.utils.date.DateUtils
yyyy-MM-dd HH:mm:ss
SP2 - 类 中的静态变量com.xunlei.channel.common.utils.date.DateUtils
yyyyMMddHHmmss
SP3 - 类 中的静态变量com.xunlei.channel.common.utils.date.DateUtils
yyyy-MM-dd
SP4 - 类 中的静态变量com.xunlei.channel.common.utils.date.DateUtils
yyyyMMdd
split(String, String) - 类 中的静态方法com.xunlei.channel.common.utils.string.StringUtils
 
splitArrayElementsIntoProperties(String[], String) - 类 中的静态方法com.xunlei.channel.common.utils.string.StringUtils
 
splitArrayElementsIntoProperties(String[], String, String) - 类 中的静态方法com.xunlei.channel.common.utils.string.StringUtils
 
SqlUtils - com.xunlei.channel.common.utils.sql中的类
 
SqlUtils() - 类 的构造器com.xunlei.channel.common.utils.sql.SqlUtils
 
startsWithIgnoreCase(String, String) - 类 中的静态方法com.xunlei.channel.common.utils.string.StringUtils
 
state(boolean, String) - 类 中的静态方法com.xunlei.channel.common.utils.Assert
Assert a boolean expression, throwing IllegalStateException if the test result is false.
state(boolean) - 类 中的静态方法com.xunlei.channel.common.utils.Assert
Assert a boolean expression, throwing IllegalStateException if the test result is false.
stringHashCode(String) - 类 中的静态方法com.xunlei.channel.common.utils.network.NetWorkUtils
Returns a hash code for this string.
StringUtil - com.xunlei.channel.common.utils.string中的类
字符处理工具类
StringUtil() - 类 的构造器com.xunlei.channel.common.utils.string.StringUtil
 
StringUtils - com.xunlei.channel.common.utils.string中的类
 
StringUtils() - 类 的构造器com.xunlei.channel.common.utils.string.StringUtils
 
stripFilenameExtension(String) - 类 中的静态方法com.xunlei.channel.common.utils.string.StringUtils
 
sub(double, double) - 类 中的静态方法com.xunlei.channel.common.utils.arith.Arith
提供精确的减法运算。
substringMatch(CharSequence, int, CharSequence) - 类 中的静态方法com.xunlei.channel.common.utils.string.StringUtils
 

T

toArray(Enumeration<E>, A[]) - 类 中的静态方法com.xunlei.channel.common.utils.CollectionUtils
Marshal the elements from the given enumeration into an array of the given type.
toIterator(Enumeration<E>) - 类 中的静态方法com.xunlei.channel.common.utils.CollectionUtils
Adapt an enumeration to an iterator.
tokenizeToStringArray(String, String) - 类 中的静态方法com.xunlei.channel.common.utils.string.StringUtils
 
tokenizeToStringArray(String, String, boolean, boolean) - 类 中的静态方法com.xunlei.channel.common.utils.string.StringUtils
 
toLanguageTag(Locale) - 类 中的静态方法com.xunlei.channel.common.utils.string.StringUtils
 
toMultiValueMap(Map<K, List<V>>) - 类 中的静态方法com.xunlei.channel.common.utils.CollectionUtils
Adapt a Map<K, List<V>> to an MultiValueMap<K, V>.
toObjectArray(Object) - 类 中的静态方法com.xunlei.channel.common.utils.ObjectUtils
Convert the given array (which may be a primitive array) to an object array (if necessary of primitive wrapper objects).
toSignString(SortedMap<String, String>) - 类 中的静态方法com.xunlei.channel.common.utils.sign.SignUtils
 
toSingleValueMap() - 接口 中的方法com.xunlei.channel.common.utils.MultiValueMap
Returns the first values contained in this MultiValueMap.
toString() - 异常错误 中的方法com.xunlei.channel.common.utils.exception.CommonException
 
toStringArray(Collection<String>) - 类 中的静态方法com.xunlei.channel.common.utils.string.StringUtils
 
toStringArray(Enumeration<String>) - 类 中的静态方法com.xunlei.channel.common.utils.string.StringUtils
 
trimAllWhitespace(String) - 类 中的静态方法com.xunlei.channel.common.utils.string.StringUtils
 
trimArrayElements(String[]) - 类 中的静态方法com.xunlei.channel.common.utils.string.StringUtils
 
trimLeadingCharacter(String, char) - 类 中的静态方法com.xunlei.channel.common.utils.string.StringUtils
 
trimLeadingWhitespace(String) - 类 中的静态方法com.xunlei.channel.common.utils.string.StringUtils
 
trimTrailingCharacter(String, char) - 类 中的静态方法com.xunlei.channel.common.utils.string.StringUtils
 
trimTrailingWhitespace(String) - 类 中的静态方法com.xunlei.channel.common.utils.string.StringUtils
 
trimWhitespace(String) - 类 中的静态方法com.xunlei.channel.common.utils.string.StringUtils
 
type - 类 中的变量com.xunlei.channel.common.utils.http.HttpParameterHandler
 

U

uncapitalize(String) - 类 中的静态方法com.xunlei.channel.common.utils.string.StringUtils
 
UnitArith - com.xunlei.channel.common.utils.arith中的类
单位转换工具类
UnitArith() - 类 的构造器com.xunlei.channel.common.utils.arith.UnitArith
 
unmodifiableMultiValueMap(MultiValueMap<? extends K, ? extends V>) - 类 中的静态方法com.xunlei.channel.common.utils.CollectionUtils
Return an unmodifiable view of the specified multi-value map.
unqualify(String) - 类 中的静态方法com.xunlei.channel.common.utils.string.StringUtils
 
unqualify(String, char) - 类 中的静态方法com.xunlei.channel.common.utils.string.StringUtils
 
upperCaseLetters - 类 中的静态变量com.xunlei.channel.common.utils.string.Words
 
upperCaseLetters() - 类 中的静态方法com.xunlei.channel.common.utils.string.Words
 
UTF8 - 类 中的静态变量com.xunlei.channel.common.utils.encrypt.Md5Encrypt
 

V

verifySignByPublicKey(String, String, String) - 类 中的静态方法com.xunlei.channel.common.utils.encrypt.RSASignature
RSA校验签名
verifySignByPublicKey(String, String, String, String) - 类 中的静态方法com.xunlei.channel.common.utils.encrypt.RSASignature
RSA校验签名

W

Words - com.xunlei.channel.common.utils.string中的类
 
Words() - 类 的构造器com.xunlei.channel.common.utils.string.Words
 
words() - 类 中的静态方法com.xunlei.channel.common.utils.string.Words
 

X

X509 - 类 中的静态变量com.xunlei.channel.common.utils.encrypt.RSASignature
 
XmlHelper - com.xunlei.channel.common.utils中的类
 
XmlHelper() - 类 的构造器com.xunlei.channel.common.utils.XmlHelper
 

Y

yuanTofen(String) - 类 中的静态方法com.xunlei.channel.common.utils.arith.UnitArith
元变分,并保留两位小数
yuanTofen(double) - 类 中的静态方法com.xunlei.channel.common.utils.arith.UnitArith
元变分,并保留两位小数

_

_255 - 类 中的静态变量com.xunlei.channel.common.utils.ip.RemoteIpUtils
 
A B C D E F G H I J K L M N O P Q R S T U V W X Y _ 
跳过导航链接

Copyright © 2017. All rights reserved.