Skip navigation links
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

accept(String, File, ClassLoader) - Method in interface com.xunlei.channel.common.utils.scan.ClassLookupHelper.ClassFileFilter
过滤磁盘文件
accept(String, JarFile, JarEntry, ClassLoader) - Method in interface com.xunlei.channel.common.utils.scan.ClassLookupHelper.ClassFileFilter
过滤 Jar 包中的文件
add(double, double) - Static method in class com.xunlei.channel.common.utils.arith.Arith
提供精确的加法运算。
add(BigDecimal, BigDecimal, int) - Static method in class com.xunlei.channel.common.utils.arith.Arith
加法
add(K, V) - Method in interface com.xunlei.channel.common.utils.MultiValueMap
Add the given single value to the current list of values for the given key.
addObjectToArray(A[], O) - Static method in class 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.
addPackage(String) - Method in class com.xunlei.channel.common.utils.scan.PackageScanner
增加扫描的包
addPackage(Package) - Method in class com.xunlei.channel.common.utils.scan.PackageScanner
增加扫描的包
addStringToArray(String[], String) - Static method in class com.xunlei.channel.common.utils.string.StringUtils
 
ALGORITHM - Static variable in class com.xunlei.channel.common.utils.encrypt.Sha512Encrypt
 
AmountUtil - Class in com.xunlei.channel.common.utils.currency
精确的金额转换工具
AmountUtil() - Constructor for class com.xunlei.channel.common.utils.currency.AmountUtil
 
andAnnotation(Class<? extends Annotation>) - Method in class com.xunlei.channel.common.utils.scan.PackageScanner
并且类被annotation注解
andInterface(Class<?>) - Method in class com.xunlei.channel.common.utils.scan.PackageScanner
并且类实现接口
appendMd5DigestAsHex(byte[], StringBuilder) - Static method in class 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) - Static method in class com.xunlei.channel.common.utils.string.StringUtils
 
Arith - Class in com.xunlei.channel.common.utils.arith
由于Java的简单类型不能够精确的对浮点数进行运算, 这个工具类提供精确的浮点数运算,包括加减乘除和四舍五入。
Arith() - Constructor for class com.xunlei.channel.common.utils.arith.Arith
 
arrayToCommaDelimitedString(Object[]) - Static method in class com.xunlei.channel.common.utils.string.StringUtils
 
arrayToDelimitedString(Object[], String) - Static method in class com.xunlei.channel.common.utils.string.StringUtils
 
arrayToList(Object) - Static method in class com.xunlei.channel.common.utils.CollectionUtils
Convert the supplied array into a List.
Assert - Class in com.xunlei.channel.common.utils
Assertion utility class that assists in validating arguments.
Assert() - Constructor for class com.xunlei.channel.common.utils.Assert
 

B

buildArgsToInStatements(String[]) - Static method in class com.xunlei.channel.common.utils.sql.SqlUtils
Convert args array to mysql in statements.
buildUrlParams(String, Map<String, String>) - Static method in class com.xunlei.channel.common.utils.http.HttpUtils
 
byteArrayHashCode(byte[]) - Static method in class com.xunlei.channel.common.utils.network.NetWorkUtils
 

C

calculateTime(String, String, int) - Static method in class com.xunlei.channel.common.utils.date.DateUtils
Deprecated.
calculateTime(String, String, String, int) - Static method in class com.xunlei.channel.common.utils.date.DateUtils
日期/时间 计算
canParseInteger(String) - Static method in class com.xunlei.channel.common.utils.string.StringUtil
检测字符串能否转换成int
canParseLong(String) - Static method in class com.xunlei.channel.common.utils.string.StringUtil
检测字符串能否转换成long
capitalize(String) - Static method in class com.xunlei.channel.common.utils.string.StringUtils
 
CARRIERS_DELIMITER - Static variable in class com.xunlei.channel.common.utils.carriers.CarriersUtils
 
CarriersStatementSupport - Class in com.xunlei.channel.common.utils.carriers
 
CarriersStatementSupport(MobileCarriersConfigService) - Constructor for class com.xunlei.channel.common.utils.carriers.CarriersStatementSupport
 
CarriersStatementSupport() - Constructor for class com.xunlei.channel.common.utils.carriers.CarriersStatementSupport
 
CarriersUtils - Class in com.xunlei.channel.common.utils.carriers
 
CarriersUtils() - Constructor for class com.xunlei.channel.common.utils.carriers.CarriersUtils
 
caseInsensitiveValueOf(E[], String) - Static method in class com.xunlei.channel.common.utils.ObjectUtils
Case insensitive alternative to Enum.valueOf(Class, String).
checkSign(String, Map<String, String>, Set<String>, String) - Static method in class com.xunlei.channel.common.utils.sign.SignUtils
Check sign if sign result matches presents string.
checkSign(String, Map<String, String>, Set<String>, String, String) - Static method in class 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) - Static method in class com.xunlei.channel.common.utils.sign.SignUtils
Check sign if sign result matches presents string.
checkSqlInject(String) - Static method in class com.xunlei.channel.common.utils.string.StringUtil
检查指定参数是否存在SQL注入漏洞
ClassLookupHelper - Class in com.xunlei.channel.common.utils.scan
 
ClassLookupHelper() - Constructor for class com.xunlei.channel.common.utils.scan.ClassLookupHelper
 
ClassLookupHelper.ClassFileFilter - Interface in com.xunlei.channel.common.utils.scan
Class File 过滤器
cleanPath(String) - Static method in class com.xunlei.channel.common.utils.string.StringUtils
 
ClientFactory - Class in com.xunlei.channel.common.utils.http
 
collectionToCommaDelimitedString(Collection<?>) - Static method in class com.xunlei.channel.common.utils.string.StringUtils
 
collectionToDelimitedString(Collection<?>, String, String, String) - Static method in class com.xunlei.channel.common.utils.string.StringUtils
 
collectionToDelimitedString(Collection<?>, String) - Static method in class com.xunlei.channel.common.utils.string.StringUtils
 
CollectionUtils - Class in com.xunlei.channel.common.utils
Miscellaneous collection utility methods.
CollectionUtils() - Constructor for class com.xunlei.channel.common.utils.CollectionUtils
 
com.xunlei.channel.common.utils - package com.xunlei.channel.common.utils
 
com.xunlei.channel.common.utils.arith - package com.xunlei.channel.common.utils.arith
 
com.xunlei.channel.common.utils.carriers - package com.xunlei.channel.common.utils.carriers
 
com.xunlei.channel.common.utils.carriers.config - package com.xunlei.channel.common.utils.carriers.config
 
com.xunlei.channel.common.utils.concurrent - package com.xunlei.channel.common.utils.concurrent
 
com.xunlei.channel.common.utils.currency - package com.xunlei.channel.common.utils.currency
 
com.xunlei.channel.common.utils.date - package com.xunlei.channel.common.utils.date
 
com.xunlei.channel.common.utils.encrypt - package com.xunlei.channel.common.utils.encrypt
 
com.xunlei.channel.common.utils.exception - package com.xunlei.channel.common.utils.exception
 
com.xunlei.channel.common.utils.http - package com.xunlei.channel.common.utils.http
 
com.xunlei.channel.common.utils.http.annotation - package com.xunlei.channel.common.utils.http.annotation
 
com.xunlei.channel.common.utils.ip - package com.xunlei.channel.common.utils.ip
 
com.xunlei.channel.common.utils.json - package com.xunlei.channel.common.utils.json
 
com.xunlei.channel.common.utils.map - package com.xunlei.channel.common.utils.map
 
com.xunlei.channel.common.utils.network - package com.xunlei.channel.common.utils.network
 
com.xunlei.channel.common.utils.object - package com.xunlei.channel.common.utils.object
 
com.xunlei.channel.common.utils.pattern - package com.xunlei.channel.common.utils.pattern
 
com.xunlei.channel.common.utils.payproxy - package com.xunlei.channel.common.utils.payproxy
 
com.xunlei.channel.common.utils.random - package com.xunlei.channel.common.utils.random
 
com.xunlei.channel.common.utils.reflect - package com.xunlei.channel.common.utils.reflect
 
com.xunlei.channel.common.utils.scan - package com.xunlei.channel.common.utils.scan
 
com.xunlei.channel.common.utils.sequence - package com.xunlei.channel.common.utils.sequence
 
com.xunlei.channel.common.utils.sign - package com.xunlei.channel.common.utils.sign
 
com.xunlei.channel.common.utils.sql - package com.xunlei.channel.common.utils.sql
 
com.xunlei.channel.common.utils.string - package com.xunlei.channel.common.utils.string
 
commaDelimitedListToSet(String) - Static method in class com.xunlei.channel.common.utils.string.StringUtils
 
commaDelimitedListToStringArray(String) - Static method in class com.xunlei.channel.common.utils.string.StringUtils
 
CommonException - Exception in com.xunlei.channel.common.utils.exception
自定义异常
CommonException(String, String) - Constructor for exception com.xunlei.channel.common.utils.exception.CommonException
 
compareTime(String, String, String) - Static method in class com.xunlei.channel.common.utils.date.DateUtils
比较时间前后
concat(char[]...) - Static method in class com.xunlei.channel.common.utils.string.StringUtils
Returns the values from each provided array combined into a single array.
concatenateStringArrays(String[], String[]) - Static method in class com.xunlei.channel.common.utils.string.StringUtils
 
contains(Iterator<?>, Object) - Static method in class com.xunlei.channel.common.utils.CollectionUtils
Check whether the given Iterator contains the given element.
contains(Enumeration<?>, Object) - Static method in class com.xunlei.channel.common.utils.CollectionUtils
Check whether the given Enumeration contains the given element.
containsAny(Collection<?>, Collection<?>) - Static method in class com.xunlei.channel.common.utils.CollectionUtils
Return true if any element in 'candidates' is contained in 'source'; otherwise returns false.
containsConstant(Enum<?>[], String) - Static method in class 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) - Static method in class com.xunlei.channel.common.utils.ObjectUtils
Check whether the given array of enum constants contains a constant with the given name.
containsElement(Object[], Object) - Static method in class com.xunlei.channel.common.utils.ObjectUtils
Check whether the given array contains the given element.
containsInstance(Collection<?>, Object) - Static method in class com.xunlei.channel.common.utils.CollectionUtils
Check whether the given Collection contains the given element instance.
containsWhitespace(CharSequence) - Static method in class com.xunlei.channel.common.utils.string.StringUtils
 
containsWhitespace(String) - Static method in class com.xunlei.channel.common.utils.string.StringUtils
 
convertIpAddressToInt(String) - Static method in class com.xunlei.channel.common.utils.ip.IpMaskUtils
 
convertJsonByClass(String, Class<T>) - Static method in class com.xunlei.channel.common.utils.JacksonHelper
 
convertObjectFieldsToMap(Object) - Static method in class com.xunlei.channel.common.utils.reflect.ReflectionUtils
 
convertObjectFieldsToMap(Object, Class) - Static method in class com.xunlei.channel.common.utils.reflect.ReflectionUtils
 
convertObjectFieldsToMap(Object, Class, boolean) - Static method in class com.xunlei.channel.common.utils.reflect.ReflectionUtils
 
convertToSignMap(Map<String, String>, Set<String>, boolean) - Static method in class com.xunlei.channel.common.utils.sign.SignUtils
 
convertXmlByClass(String, Class<T>) - Static method in class com.xunlei.channel.common.utils.XmlHelper
 
countOccurrencesOf(String, String) - Static method in class com.xunlei.channel.common.utils.string.StringUtils
 

D

dateDiffer(String, String, String) - Static method in class com.xunlei.channel.common.utils.date.DateUtils
返回两个时间之间的差(毫秒数)
DateUtils - Class in com.xunlei.channel.common.utils.date
时间工具类
DateUtils() - Constructor for class com.xunlei.channel.common.utils.date.DateUtils
 
decryptByPrivateKey(byte[], String) - Static method in class com.xunlei.channel.common.utils.encrypt.RSAEncrypt
RSA解密
decryptData(String, String) - Static method in class com.xunlei.channel.common.utils.encrypt.DESEncrypt
 
DEFAULT_CHARSET - Static variable in class com.xunlei.channel.common.utils.encrypt.Sha512Encrypt
 
DEFAULT_CHARSET - Static variable in class com.xunlei.channel.common.utils.http.HttpUtils
 
DEFAULT_CHARSET - Static variable in class com.xunlei.channel.common.utils.sign.SignUtils
 
DEFAULT_TIMEOUT - Static variable in class com.xunlei.channel.common.utils.http.ClientFactory
 
delete(String, String) - Static method in class com.xunlei.channel.common.utils.string.StringUtils
 
deleteAny(String, String) - Static method in class com.xunlei.channel.common.utils.string.StringUtils
 
delimitedListToStringArray(String, String) - Static method in class com.xunlei.channel.common.utils.string.StringUtils
 
delimitedListToStringArray(String, String, String) - Static method in class com.xunlei.channel.common.utils.string.StringUtils
 
DESEncrypt - Class in com.xunlei.channel.common.utils.encrypt
目前用于捷迅无线充值卡支付加密,是否具有通用性暂不知
DESEncrypt() - Constructor for class com.xunlei.channel.common.utils.encrypt.DESEncrypt
 
DigestUtils - Class in com.xunlei.channel.common.utils.sign
Miscellaneous methods for calculating digests.
DigestUtils() - Constructor for class com.xunlei.channel.common.utils.sign.DigestUtils
 
div(double, double) - Static method in class com.xunlei.channel.common.utils.arith.Arith
提供(相对)精确的除法运算,当发生除不尽的情况时, 精确到小数点以后10位,以后的数字四舍五入。
div(double, double, int) - Static method in class com.xunlei.channel.common.utils.arith.Arith
提供(相对)精确的除法运算。 当发生除不尽的情况时,由scale参数指定精度,以后的数字四舍五入。
divide(BigDecimal, BigDecimal) - Static method in class com.xunlei.channel.common.utils.arith.Arith
四舍五入除法
divide(BigDecimal, BigDecimal, int) - Static method in class com.xunlei.channel.common.utils.arith.Arith
四舍五入除法
doesNotContain(String, String, String) - Static method in class com.xunlei.channel.common.utils.Assert
Assert that the given text does not contain the given substring.
doesNotContain(String, String) - Static method in class com.xunlei.channel.common.utils.Assert
Assert that the given text does not contain the given substring.
doPost(Object, String, String, int) - Static method in class com.xunlei.channel.common.utils.http.ParameteredHttpUtils
 
doPost(Map<String, String>, String, String, int) - Static method in class com.xunlei.channel.common.utils.http.ParameteredHttpUtils
 
doPost(HttpParameterHandler<?>, Object, String, String, int) - Static method in class com.xunlei.channel.common.utils.http.ParameteredHttpUtils
 
doPostWithParameterHandler(HttpParameterHandler<T>, T, String, String, int) - Static method in class com.xunlei.channel.common.utils.http.ParameteredHttpUtils
 
doubleYuanToIntFen(String) - Static method in class com.xunlei.channel.common.utils.currency.AmountUtil
 

E

encode(String) - Static method in class com.xunlei.channel.common.utils.encrypt.Md5Encrypt
MD5加密,默认使用GBK编码
encode(String, String) - Static method in class com.xunlei.channel.common.utils.encrypt.Md5Encrypt
MD5加密
ENCODING - Static variable in class com.xunlei.channel.common.utils.encrypt.RSAEncrypt
 
ENCODING - Static variable in class com.xunlei.channel.common.utils.encrypt.RSASignature
 
encryptByPublicKey(byte[], String) - Static method in class com.xunlei.channel.common.utils.encrypt.RSAEncrypt
RSA加密
encryptData(String, String) - Static method in class com.xunlei.channel.common.utils.encrypt.DESEncrypt
 
endsWithIgnoreCase(String, String) - Static method in class com.xunlei.channel.common.utils.string.StringUtils
 
equals(Object) - Method in class com.xunlei.channel.common.utils.ParameterizedTypeReference
 
executeRequest(HttpRequestBase, String, int) - Static method in class com.xunlei.channel.common.utils.http.HttpUtils
 

F

fenToyuan(String) - Static method in class com.xunlei.channel.common.utils.arith.UnitArith
分变元,并保留两位小数
fenToyuan(double) - Static method in class com.xunlei.channel.common.utils.arith.UnitArith
分变元,并保留两位小数
fillZero(String, int) - Static method in class com.xunlei.channel.common.utils.string.StringUtils
 
findCarriersByMobile(String) - Method in class com.xunlei.channel.common.utils.carriers.CarriersStatementSupport
 
findCommonElementType(Collection<?>) - Static method in class com.xunlei.channel.common.utils.CollectionUtils
Find the common element type of the given Collection, if any.
findFieldNames(Class, boolean) - Static method in class com.xunlei.channel.common.utils.reflect.ReflectionUtils
 
findFields(Class, boolean) - Static method in class com.xunlei.channel.common.utils.reflect.ReflectionUtils
 
findFirstMatch(Collection<?>, Collection<E>) - Static method in class com.xunlei.channel.common.utils.CollectionUtils
Return the first element in 'candidates' that is contained in 'source'.
findGetMethod(Field) - Static method in class com.xunlei.channel.common.utils.reflect.ReflectionUtils
 
findValueOfType(Collection<?>, Class<T>) - Static method in class com.xunlei.channel.common.utils.CollectionUtils
Find a single value of the given type in the given Collection.
findValueOfType(Collection<?>, Class<?>[]) - Static method in 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 - Static variable in class com.xunlei.channel.common.utils.encrypt.Md5Encrypt
 
generateSequence() - Static method in class com.xunlei.channel.common.utils.sequence.SequenceGenerator
生成序列号。默认100w并发
generateSequence(int) - Static method in class com.xunlei.channel.common.utils.sequence.SequenceGenerator
指定并发度并且生成序列号
generateSerialNumber() - Static method in class com.xunlei.channel.common.utils.string.StringUtil
生成永不重复的流水号,规则为yyyyMMddHHmmss加上6位随机数字,总共20位
generateString(int) - Static method in class com.xunlei.channel.common.utils.string.StringUtil
返回一个定长的随机字符串(只包含数字)
getByteLength(BigInteger) - Static method in class com.xunlei.channel.common.utils.encrypt.RSAEncrypt
 
getCarriers() - Method in enum com.xunlei.channel.common.utils.carriers.MobileCarriers
 
getCarriersMobileStatementConfig() - Method in class com.xunlei.channel.common.utils.carriers.config.MobileCarriersPropertiesConfigService
 
getCarriersMobileStatementConfig() - Method in interface com.xunlei.channel.common.utils.carriers.MobileCarriersConfigService
 
getCarriersTelecomStatementConfig() - Method in class com.xunlei.channel.common.utils.carriers.config.MobileCarriersPropertiesConfigService
 
getCarriersTelecomStatementConfig() - Method in interface com.xunlei.channel.common.utils.carriers.MobileCarriersConfigService
 
getCarriersUnicomStatementConfig() - Method in class com.xunlei.channel.common.utils.carriers.config.MobileCarriersPropertiesConfigService
 
getCarriersUnicomStatementConfig() - Method in interface com.xunlei.channel.common.utils.carriers.MobileCarriersConfigService
 
getClasses(ClassLookupHelper.ClassFileFilter) - Static method in class com.xunlei.channel.common.utils.scan.ClassLookupHelper
从所有的 classpath 下面搜索指定的 Class
getClasses(Package, boolean, ClassLookupHelper.ClassFileFilter) - Static method in class com.xunlei.channel.common.utils.scan.ClassLookupHelper
从指定 package 中获取所有的 Class
getClasses(String, boolean, ClassLookupHelper.ClassFileFilter) - Static method in class com.xunlei.channel.common.utils.scan.ClassLookupHelper
从指定 package 中获取所有的 Class
getClient() - Static method in class com.xunlei.channel.common.utils.http.ClientFactory
 
getCurrentTime(String) - Static method in class com.xunlei.channel.common.utils.date.DateUtils
获得指定格式的当前时间
getDateAfterDays(Date, int) - Static method in class com.xunlei.channel.common.utils.date.DateUtils
 
getDateFormat(String) - Static method in class com.xunlei.channel.common.utils.date.DateUtils
 
getDateStringByFormat(Date, String) - Static method in class com.xunlei.channel.common.utils.date.DateUtils
 
getDays(int) - Static method in class com.xunlei.channel.common.utils.date.DateUtils
返回指定天数的字符串
getDayString(String, int) - Static method in class com.xunlei.channel.common.utils.date.DateUtils
返回指定天数的字符串
getDisplayString(Object) - Static method in class com.xunlei.channel.common.utils.ObjectUtils
Return a content-based String representation if obj is not null; otherwise returns an empty String.
getErrCode() - Method in exception com.xunlei.channel.common.utils.exception.CommonException
 
getFieldParameterName(Field) - Static method in class com.xunlei.channel.common.utils.http.HttpParameterHandler
 
getFieldValue(Field, Object) - Static method in class com.xunlei.channel.common.utils.reflect.ReflectionUtils
 
getFilename(String) - Static method in class com.xunlei.channel.common.utils.string.StringUtils
 
getFilenameExtension(String) - Static method in class com.xunlei.channel.common.utils.string.StringUtils
 
getFirst(K) - Method in interface com.xunlei.channel.common.utils.MultiValueMap
Return the first value for the given key.
getFirstDateOfMonth() - Static method in class com.xunlei.channel.common.utils.date.DateUtils
当月第一天
getFirstDateStrOfMonth() - Static method in class com.xunlei.channel.common.utils.date.DateUtils
当月第一天
getFirstDayOfMonth(String) - Static method in class com.xunlei.channel.common.utils.date.DateUtils
获取当月第一天
getHeaderNameOfXForwardFor(HttpServletRequest) - Static method in class com.xunlei.channel.common.utils.ip.RemoteIpUtils
 
getHostAndPort(String) - Static method in class com.xunlei.channel.common.utils.pattern.PatternUtils
 
getHostIp(InetAddress) - Static method in class com.xunlei.channel.common.utils.network.NetWorkUtils
 
getHostName() - Static method in class com.xunlei.channel.common.utils.network.NetWorkUtils
 
getHostName(InetAddress) - Static method in class com.xunlei.channel.common.utils.network.NetWorkUtils
 
getIdentityHexString(Object) - Static method in class com.xunlei.channel.common.utils.ObjectUtils
Return a hex String form of an object's identity hash code.
getInetAddress() - Static method in class com.xunlei.channel.common.utils.network.NetWorkUtils
 
getIpFromRequest(HttpServletRequest) - Static method in class com.xunlei.channel.common.utils.ip.RemoteIpUtils
 
getJsonString(Object) - Static method in class com.xunlei.channel.common.utils.JacksonHelper
 
getKeyValueStr(Map<String, Object>) - Static method in class com.xunlei.channel.common.utils.map.KeyValueUtil
从Map中获取key=value字符串
getKeyValueStrEnc(Map<String, String>, String) - Static method in class com.xunlei.channel.common.utils.map.KeyValueUtil
从Map中获取key=value字符串(跳过空值),并对value值进行urlencode编码
getKeyValueStrTrim(Map<String, Object>) - Static method in class com.xunlei.channel.common.utils.map.KeyValueUtil
从Map中获取key=value字符串
getKeyValueStrTrim(Object) - Static method in class com.xunlei.channel.common.utils.map.KeyValueUtil
从对象中获取key=value字符串,对象中的属性应该为基本数据类型或者重写toString方法的对象
跳过key为null或者"" 和 value为null或者"" 的属性
该方法会对参数进行字母顺序排序
getKeyValueStrTrimWithMark(Map<String, Object>) - Static method in class com.xunlei.channel.common.utils.map.KeyValueUtil
从Map中获取key=value字符串(该方法value会带双引号)
getKeyValueStrTrimWithMark(Object) - Static method in class com.xunlei.channel.common.utils.map.KeyValueUtil
从对象中获取key=value字符串,对象中的属性应该为基本数据类型或者重写toString方法的对象
跳过key为null或者"" 和 value为null或者"" 的属性
该方法会对参数进行字母顺序排序 该方法返回的value会带双引号
getLastTime(Date) - Static method in class com.xunlei.channel.common.utils.date.DateUtils
获取日期的最后秒的时间(即一天的结束时间)
getLock(Object) - Method in class com.xunlei.channel.common.utils.concurrent.LockSupport
 
getMachineNumberBySequence(String) - Static method in class com.xunlei.channel.common.utils.sequence.SequenceGenerator
 
getMapFromObject(Object) - Static method in class com.xunlei.channel.common.utils.object.ObjectUtil
从对象中获取Map
getMapFromObjectTrim(Object) - Static method in class com.xunlei.channel.common.utils.object.ObjectUtil
从对象中获取Map
getNowDate() - Static method in class com.xunlei.channel.common.utils.date.DateUtils
 
getNowDateTime() - Static method in class com.xunlei.channel.common.utils.date.DateUtils
 
getObjectFromMap(Map<String, Object>, Class) - Static method in class com.xunlei.channel.common.utils.object.ObjectUtil
从Map中获取对象
getParameterMap(T) - Method in class com.xunlei.channel.common.utils.http.HttpParameterHandler
 
getParameterMapWithObject(Object) - Method in class com.xunlei.channel.common.utils.http.HttpParameterHandler
 
getPayProxyYearSeason(String) - Static method in class com.xunlei.channel.common.utils.payproxy.PayProxyUtils
根据日期字段获取年和季度,格式必须是:yyyy-MM-dd*
getSeason(String) - Static method in class com.xunlei.channel.common.utils.date.DateUtils
获取日期所属的季度(从1开始)。日期的格式必须是"yyyy-MM*"
getTimeAfter(int, int, String) - Static method in class com.xunlei.channel.common.utils.date.DateUtils
获取指定格式的某时间,例如1小时前 或者1小时后
getType() - Method in class com.xunlei.channel.common.utils.ParameterizedTypeReference
 
getUnixTime() - Static method in class com.xunlei.channel.common.utils.date.DateUtils
 
getUnsignedInt(int) - Static method in class com.xunlei.channel.common.utils.network.NetWorkUtils
 
getUrl(String, String) - Static method in class com.xunlei.channel.common.utils.http.HttpUtils
 
getWidthMachineNumber() - Static method in class com.xunlei.channel.common.utils.network.NetWorkUtils
获取等宽的机器码,相同的机器每次都是获取相同值
getWidthMachineNumber(int) - Static method in class com.xunlei.channel.common.utils.network.NetWorkUtils
获取等宽的机器码,相同的机器每次都是获取相同值
getXmlString(Object) - Static method in class com.xunlei.channel.common.utils.XmlHelper
 
getYear(String) - Static method in class com.xunlei.channel.common.utils.date.DateUtils
获取日期的年份
getZeroTime(Date) - Static method in class com.xunlei.channel.common.utils.date.DateUtils
获取日期的0点时间(即一天的开始)

H

hashCode(boolean) - Static method in class com.xunlei.channel.common.utils.ObjectUtils
Return the same value as Boolean.hashCode()}.
hashCode(double) - Static method in class com.xunlei.channel.common.utils.ObjectUtils
Return the same value as Double.hashCode()}.
hashCode(float) - Static method in class com.xunlei.channel.common.utils.ObjectUtils
Return the same value as Float.hashCode()}.
hashCode(long) - Static method in class com.xunlei.channel.common.utils.ObjectUtils
Return the same value as Long.hashCode()}.
hashCode() - Method in class com.xunlei.channel.common.utils.ParameterizedTypeReference
 
hasLength(String, String) - Static method in class 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) - Static method in class 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) - Static method in class com.xunlei.channel.common.utils.string.StringUtils
 
hasLength(String) - Static method in class com.xunlei.channel.common.utils.string.StringUtils
 
hasText(String, String) - Static method in class 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) - Static method in class 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) - Static method in class com.xunlei.channel.common.utils.string.StringUtils
 
hasText(String) - Static method in class com.xunlei.channel.common.utils.string.StringUtils
 
hasUniqueObject(Collection<?>) - Static method in class com.xunlei.channel.common.utils.CollectionUtils
Determine whether the given Collection only contains a single unique object.
HOST_PATTERN - Static variable in class com.xunlei.channel.common.utils.pattern.PatternUtils
 
HOST_PORT_PATTERN - Static variable in class com.xunlei.channel.common.utils.pattern.PatternUtils
 
HTTP_HOST_PATTERN - Static variable in class com.xunlei.channel.common.utils.pattern.PatternUtils
 
HTTP_HOST_PORT_PATTERN - Static variable in class com.xunlei.channel.common.utils.pattern.PatternUtils
 
HttpParameter - Annotation Type in com.xunlei.channel.common.utils.http.annotation
 
HttpParameterHandler<T> - Class in com.xunlei.channel.common.utils.http
 
HttpParameterHandler(Class<T>) - Constructor for class com.xunlei.channel.common.utils.http.HttpParameterHandler
 
HttpReflectionUtils - Class in com.xunlei.channel.common.utils.reflect
 
HttpReflectionUtils() - Constructor for class com.xunlei.channel.common.utils.reflect.HttpReflectionUtils
 
HTTPS_HOST_PATTERN - Static variable in class com.xunlei.channel.common.utils.pattern.PatternUtils
 
HTTPS_HOST_PORT_PATTERN - Static variable in class com.xunlei.channel.common.utils.pattern.PatternUtils
 
HttpUtils - Class in com.xunlei.channel.common.utils.http
 
HttpUtils() - Constructor for class com.xunlei.channel.common.utils.http.HttpUtils
 

I

identityToString(Object) - Static method in class com.xunlei.channel.common.utils.ObjectUtils
Return a String representation of an object's overall identity.
ignoreInterface(boolean) - Method in class com.xunlei.channel.common.utils.scan.PackageScanner
 
IpMaskUtils - Class in com.xunlei.channel.common.utils.ip
 
IpMaskUtils() - Constructor for class com.xunlei.channel.common.utils.ip.IpMaskUtils
 
ipV4ToLong(String) - Static method in class com.xunlei.channel.common.utils.ip.RemoteIpUtils
 
isArray(Object) - Static method in class 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<?>) - Static method in class com.xunlei.channel.common.utils.Assert
Assert that superType.isAssignableFrom(subType) is true.
isAssignable(Class<?>, Class<?>, String) - Static method in class com.xunlei.channel.common.utils.Assert
Assert that superType.isAssignableFrom(subType) is true.
isCheckedException(Throwable) - Static method in class 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<?>...) - Static method in 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) - Static method in class com.xunlei.channel.common.utils.string.StringUtil
检测字符串是否为数字
isEmpty(Collection<?>) - Static method in class com.xunlei.channel.common.utils.CollectionUtils
Return true if the supplied Collection is null or empty.
isEmpty(Map<?, ?>) - Static method in class com.xunlei.channel.common.utils.CollectionUtils
Return true if the supplied Map is null or empty.
isEmpty(Object[]) - Static method in class com.xunlei.channel.common.utils.ObjectUtils
Determine whether the given array is empty: i.e.
isEmpty(Object) - Static method in class com.xunlei.channel.common.utils.ObjectUtils
Determine whether the given object is empty.
isEmpty(Object) - Static method in class com.xunlei.channel.common.utils.string.StringUtils
 
isInstanceOf(Class<?>, Object) - Static method in class com.xunlei.channel.common.utils.Assert
Assert that the provided object is an instance of the provided class.
isInstanceOf(Class<?>, Object, String) - Static method in class com.xunlei.channel.common.utils.Assert
Assert that the provided object is an instance of the provided class.
isIpInMask(String, String) - Static method in class com.xunlei.channel.common.utils.ip.IpMaskUtils
 
isIpInMask(int, int, int) - Static method in class com.xunlei.channel.common.utils.ip.IpMaskUtils
 
isIPv4Private(String) - Static method in class com.xunlei.channel.common.utils.ip.RemoteIpUtils
 
isIPv4Valid(String) - Static method in class com.xunlei.channel.common.utils.ip.RemoteIpUtils
 
isNull(Object, String) - Static method in class com.xunlei.channel.common.utils.Assert
Assert that an object is null .
isNull(Object) - Static method in class com.xunlei.channel.common.utils.Assert
Assert that an object is null .
isSupportAll(MobileCarriers[]) - Static method in enum com.xunlei.channel.common.utils.carriers.MobileCarriers
 
isTrue(boolean, String) - Static method in class com.xunlei.channel.common.utils.Assert
Assert a boolean expression, throwing IllegalArgumentException if the test result is false.
isTrue(boolean) - Static method in class com.xunlei.channel.common.utils.Assert
Assert a boolean expression, throwing IllegalArgumentException if the test result is false.

J

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

K

KEY_ALGORITHM - Static variable in class com.xunlei.channel.common.utils.encrypt.RSAEncrypt
 
KEY_ALGORITHM - Static variable in class com.xunlei.channel.common.utils.encrypt.RSASignature
 
keySize(RSAKey) - Static method in class com.xunlei.channel.common.utils.encrypt.RSAEncrypt
 
KeyValueUtil - Class in com.xunlei.channel.common.utils.map
键值对工具类
KeyValueUtil() - Constructor for class com.xunlei.channel.common.utils.map.KeyValueUtil
 
KV_DELIMITER - Static variable in class com.xunlei.channel.common.utils.reflect.HttpReflectionUtils
 

L

letters() - Static method in class com.xunlei.channel.common.utils.string.Words
 
LockSupport - Class in com.xunlei.channel.common.utils.concurrent
 
longToIpV4(long) - Static method in class com.xunlei.channel.common.utils.ip.RemoteIpUtils
 
LOW_CASE_X_FORWARD - Static variable in class com.xunlei.channel.common.utils.ip.RemoteIpUtils
 
lowerCaseLetters - Static variable in class com.xunlei.channel.common.utils.string.Words
 
lowerCaseLetters() - Static method in class com.xunlei.channel.common.utils.string.Words
 

M

main(String[]) - Static method in class com.xunlei.channel.common.utils.network.NetWorkUtils
 
main(String[]) - Static method in class com.xunlei.channel.common.utils.pattern.PatternUtils
 
main(String[]) - Static method in class com.xunlei.channel.common.utils.scan.ClassLookupHelper
 
main(String[]) - Static method in class com.xunlei.channel.common.utils.scan.PackageScanner
 
mapToJson(Map<String, Object>) - Static method in class com.xunlei.channel.common.utils.json.JsonUtil
从Map对象得到Json字串
mapToSortedMap(Map<String, Object>) - Static method in class com.xunlei.channel.common.utils.object.ObjectUtil
把一般Map转换成sortedMap
maxCipherLength(PrivateKey) - Static method in class com.xunlei.channel.common.utils.encrypt.RSAEncrypt
 
maxPlainTextLength(PublicKey) - Static method in class com.xunlei.channel.common.utils.encrypt.RSAEncrypt
 
md5(String, String) - Static method in class com.xunlei.channel.common.utils.sign.SignUtils
 
md5Digest(byte[]) - Static method in class com.xunlei.channel.common.utils.sign.DigestUtils
Calculate the MD5 digest of the given bytes.
md5DigestAsHex(byte[]) - Static method in class com.xunlei.channel.common.utils.sign.DigestUtils
Return a hexadecimal string representation of the MD5 digest of the given bytes.
Md5Encrypt - Class in com.xunlei.channel.common.utils.encrypt
 
Md5Encrypt() - Constructor for class com.xunlei.channel.common.utils.encrypt.Md5Encrypt
 
mergeArrayIntoCollection(Object, Collection<E>) - Static method in class com.xunlei.channel.common.utils.CollectionUtils
Merge the given array into the given Collection.
mergePropertiesIntoMap(Properties, Map<K, V>) - Static method in class 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[]) - Static method in class com.xunlei.channel.common.utils.string.StringUtils
 
MobileCarriers - Enum in com.xunlei.channel.common.utils.carriers
短信运营商。
例如: 移动、联通、电信
MobileCarriersConfigService - Interface in com.xunlei.channel.common.utils.carriers
 
MobileCarriersPropertiesConfigService - Class in com.xunlei.channel.common.utils.carriers.config
从properties读取配置
MobileCarriersPropertiesConfigService() - Constructor for class com.xunlei.channel.common.utils.carriers.config.MobileCarriersPropertiesConfigService
 
mul(double, double) - Static method in class com.xunlei.channel.common.utils.arith.Arith
提供精确的乘法运算。
multiply(BigDecimal, BigDecimal, int) - Static method in class com.xunlei.channel.common.utils.arith.Arith
乘法
MultiValueMap<K,V> - Interface in com.xunlei.channel.common.utils
Extension of the Map interface that stores multiple values.

N

NetWorkUtils - Class in com.xunlei.channel.common.utils.network
 
NetWorkUtils() - Constructor for class com.xunlei.channel.common.utils.network.NetWorkUtils
 
newClient(int) - Static method in class com.xunlei.channel.common.utils.http.ClientFactory
 
newConfiguredMapper() - Static method in class com.xunlei.channel.common.utils.JacksonHelper
 
newConfiguredMapper() - Static method in class com.xunlei.channel.common.utils.XmlHelper
 
newInstance(int) - Static method in class com.xunlei.channel.common.utils.concurrent.LockSupport
 
newMapper() - Static method in class com.xunlei.channel.common.utils.JacksonHelper
 
newMapper() - Static method in class com.xunlei.channel.common.utils.XmlHelper
 
newRandomStringUtils(boolean) - Static method in class com.xunlei.channel.common.utils.random.RandomUtils
 
newScanner() - Static method in class com.xunlei.channel.common.utils.scan.PackageScanner
 
noNullElements(Object[], String) - Static method in class com.xunlei.channel.common.utils.Assert
Assert that an array has no null elements.
noNullElements(Object[]) - Static method in class com.xunlei.channel.common.utils.Assert
Assert that an array has no null elements.
notEmpty(Object[], String) - Static method in class 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[]) - Static method in class 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) - Static method in class 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<?>) - Static method in class 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) - Static method in class 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<?, ?>) - Static method in class 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) - Static method in class com.xunlei.channel.common.utils.Assert
Assert that an object is not null .
notNull(Object) - Static method in class com.xunlei.channel.common.utils.Assert
Assert that an object is not null .
nullSafeClassName(Object) - Static method in class com.xunlei.channel.common.utils.ObjectUtils
Determine the class name for the given object.
nullSafeEquals(Object, Object) - Static method in class 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) - Static method in class com.xunlei.channel.common.utils.ObjectUtils
Return as hash code for the given object; typically the value of Object#hashCode()}.
nullSafeHashCode(Object[]) - Static method in class com.xunlei.channel.common.utils.ObjectUtils
Return a hash code based on the contents of the specified array.
nullSafeHashCode(boolean[]) - Static method in class com.xunlei.channel.common.utils.ObjectUtils
Return a hash code based on the contents of the specified array.
nullSafeHashCode(byte[]) - Static method in class com.xunlei.channel.common.utils.ObjectUtils
Return a hash code based on the contents of the specified array.
nullSafeHashCode(char[]) - Static method in class com.xunlei.channel.common.utils.ObjectUtils
Return a hash code based on the contents of the specified array.
nullSafeHashCode(double[]) - Static method in class com.xunlei.channel.common.utils.ObjectUtils
Return a hash code based on the contents of the specified array.
nullSafeHashCode(float[]) - Static method in class com.xunlei.channel.common.utils.ObjectUtils
Return a hash code based on the contents of the specified array.
nullSafeHashCode(int[]) - Static method in class com.xunlei.channel.common.utils.ObjectUtils
Return a hash code based on the contents of the specified array.
nullSafeHashCode(long[]) - Static method in class com.xunlei.channel.common.utils.ObjectUtils
Return a hash code based on the contents of the specified array.
nullSafeHashCode(short[]) - Static method in class com.xunlei.channel.common.utils.ObjectUtils
Return a hash code based on the contents of the specified array.
nullSafeToString(Object) - Static method in class com.xunlei.channel.common.utils.ObjectUtils
Return a String representation of the specified Object.
nullSafeToString(Object[]) - Static method in class com.xunlei.channel.common.utils.ObjectUtils
Return a String representation of the contents of the specified array.
nullSafeToString(boolean[]) - Static method in class com.xunlei.channel.common.utils.ObjectUtils
Return a String representation of the contents of the specified array.
nullSafeToString(byte[]) - Static method in class com.xunlei.channel.common.utils.ObjectUtils
Return a String representation of the contents of the specified array.
nullSafeToString(char[]) - Static method in class com.xunlei.channel.common.utils.ObjectUtils
Return a String representation of the contents of the specified array.
nullSafeToString(double[]) - Static method in class com.xunlei.channel.common.utils.ObjectUtils
Return a String representation of the contents of the specified array.
nullSafeToString(float[]) - Static method in class com.xunlei.channel.common.utils.ObjectUtils
Return a String representation of the contents of the specified array.
nullSafeToString(int[]) - Static method in class com.xunlei.channel.common.utils.ObjectUtils
Return a String representation of the contents of the specified array.
nullSafeToString(long[]) - Static method in class com.xunlei.channel.common.utils.ObjectUtils
Return a String representation of the contents of the specified array.
nullSafeToString(short[]) - Static method in class com.xunlei.channel.common.utils.ObjectUtils
Return a String representation of the contents of the specified array.
numbers - Static variable in class com.xunlei.channel.common.utils.string.Words
 
numbers() - Static method in class com.xunlei.channel.common.utils.string.Words
 

O

objectToJson(Object) - Static method in class com.xunlei.channel.common.utils.json.JsonUtil
将java对象转换成json字符串
ObjectUtil - Class in com.xunlei.channel.common.utils.object
提供对象与map map与对象 等基础转换
ObjectUtil() - Constructor for class com.xunlei.channel.common.utils.object.ObjectUtil
 
ObjectUtils - Class in com.xunlei.channel.common.utils
Miscellaneous object utility methods.
ObjectUtils() - Constructor for class com.xunlei.channel.common.utils.ObjectUtils
 
orAnnotation(Class<? extends Annotation>) - Method in class com.xunlei.channel.common.utils.scan.PackageScanner
或者类被annotation注解
orEndWithString(String) - Method in class com.xunlei.channel.common.utils.scan.PackageScanner
 
orInterface(Class<?>) - Method in class com.xunlei.channel.common.utils.scan.PackageScanner
或者类实现接口
orStartWithString(String) - Method in class com.xunlei.channel.common.utils.scan.PackageScanner
 

P

PackageScanner - Class in com.xunlei.channel.common.utils.scan
 
PAIRS_DELIMITER - Static variable in class com.xunlei.channel.common.utils.reflect.HttpReflectionUtils
 
ParameteredHttpUtils - Class in com.xunlei.channel.common.utils.http
 
ParameteredHttpUtils() - Constructor for class com.xunlei.channel.common.utils.http.ParameteredHttpUtils
 
ParameterIgnore - Annotation Type in com.xunlei.channel.common.utils.http.annotation
 
ParameterizedTypeReference<T> - Class in com.xunlei.channel.common.utils
 
ParameterizedTypeReference() - Constructor for class com.xunlei.channel.common.utils.ParameterizedTypeReference
 
parseCarriers(String) - Static method in class com.xunlei.channel.common.utils.carriers.CarriersUtils
 
parseDateByFormat(String, String) - Static method in class com.xunlei.channel.common.utils.date.DateUtils
 
parseField(Field) - Static method in class com.xunlei.channel.common.utils.http.HttpParameterHandler
 
parseHttpResponseToInstance(String, Class<T>) - Static method in class com.xunlei.channel.common.utils.reflect.HttpReflectionUtils
 
parseHttpResponseToMap(String) - Static method in class com.xunlei.channel.common.utils.reflect.HttpReflectionUtils
 
parseLocaleString(String) - Static method in class com.xunlei.channel.common.utils.string.StringUtils
 
parseMapToHttpParameters(Map<String, String>) - Static method in class com.xunlei.channel.common.utils.http.HttpUtils
 
parseMapToPairs(Map<String, String>) - Static method in class com.xunlei.channel.common.utils.http.HttpUtils
 
parseMethod(Field) - Static method in class com.xunlei.channel.common.utils.http.HttpParameterHandler
 
parseParamsToInstance(Map<String, String>, Class<T>) - Static method in class com.xunlei.channel.common.utils.reflect.HttpReflectionUtils
 
parseSubnetConfig(String) - Static method in class com.xunlei.channel.common.utils.ip.IpMaskUtils
 
parseTime(String, String, String) - Static method in class com.xunlei.channel.common.utils.date.DateUtils
将时间以指定格式格式化
parseTimeZoneString(String) - Static method in class com.xunlei.channel.common.utils.string.StringUtils
 
pathEquals(String, String) - Static method in class com.xunlei.channel.common.utils.string.StringUtils
 
pattern - Static variable in class com.xunlei.channel.common.utils.ip.RemoteIpUtils
 
PatternUtils - Class in com.xunlei.channel.common.utils.pattern
 
PatternUtils() - Constructor for class com.xunlei.channel.common.utils.pattern.PatternUtils
 
PayProxyUtils - Class in com.xunlei.channel.common.utils.payproxy
老网关的工具
PayProxyUtils() - Constructor for class com.xunlei.channel.common.utils.payproxy.PayProxyUtils
 
post(String, HttpEntity, String, int) - Static method in class com.xunlei.channel.common.utils.http.HttpUtils
 
post(String, String, String, int) - Static method in class com.xunlei.channel.common.utils.http.HttpUtils
 

Q

quote(String) - Static method in class com.xunlei.channel.common.utils.string.StringUtils
 
quoteIfString(Object) - Static method in class com.xunlei.channel.common.utils.string.StringUtils
 

R

randomNumberString(int) - Method in class com.xunlei.channel.common.utils.random.RandomUtils.RandomStringUtils
Produce random number strings.
RandomStringUtils(boolean) - Constructor for class com.xunlei.channel.common.utils.random.RandomUtils.RandomStringUtils
 
RandomUtils - Class in com.xunlei.channel.common.utils.random
 
RandomUtils() - Constructor for class com.xunlei.channel.common.utils.random.RandomUtils
 
RandomUtils.RandomStringUtils - Class in com.xunlei.channel.common.utils.random
 
randomWordString(int) - Method in class com.xunlei.channel.common.utils.random.RandomUtils.RandomStringUtils
Produce random word strings.
readResponse(HttpResponse, String) - Static method in class com.xunlei.channel.common.utils.http.HttpUtils
 
recursive(boolean) - Method in class com.xunlei.channel.common.utils.scan.PackageScanner
是否递归子包
ReflectionUtils - Class in com.xunlei.channel.common.utils.reflect
 
ReflectionUtils() - Constructor for class com.xunlei.channel.common.utils.reflect.ReflectionUtils
 
reloadConfig() - Method in class com.xunlei.channel.common.utils.carriers.CarriersStatementSupport
 
RemoteIpUtils - Class in com.xunlei.channel.common.utils.ip
 
RemoteIpUtils() - Constructor for class com.xunlei.channel.common.utils.ip.RemoteIpUtils
 
removeDuplicateStrings(String[]) - Static method in class com.xunlei.channel.common.utils.string.StringUtils
 
replace(String, String, String) - Static method in class com.xunlei.channel.common.utils.string.StringUtils
 
round(double, int) - Static method in class com.xunlei.channel.common.utils.arith.Arith
提供精确的小数位四舍五入处理。
RSAEncrypt - Class in com.xunlei.channel.common.utils.encrypt
 
RSAEncrypt() - Constructor for class com.xunlei.channel.common.utils.encrypt.RSAEncrypt
 
RSASignature - Class in com.xunlei.channel.common.utils.encrypt
RSA加密工具类
RSASignature() - Constructor for class com.xunlei.channel.common.utils.encrypt.RSASignature
 

S

scan() - Method in class com.xunlei.channel.common.utils.scan.PackageScanner
开始扫描
SequenceGenerator - Class in com.xunlei.channel.common.utils.sequence
SequenceNumber generator.
SequenceGenerator() - Constructor for class com.xunlei.channel.common.utils.sequence.SequenceGenerator
 
set(K, V) - Method in interface com.xunlei.channel.common.utils.MultiValueMap
Set the given single value under the given key.
setAll(Map<K, V>) - Method in interface com.xunlei.channel.common.utils.MultiValueMap
Set the given values under.
setErrCode(String) - Method in exception com.xunlei.channel.common.utils.exception.CommonException
 
setFieldValueToInstance(String, String, T, Field[]) - Static method in class com.xunlei.channel.common.utils.reflect.ReflectionUtils
 
Sha512Encrypt - Class in com.xunlei.channel.common.utils.encrypt
 
Sha512Encrypt() - Constructor for class com.xunlei.channel.common.utils.encrypt.Sha512Encrypt
 
sha512Encrypt(String, String) - Static method in class com.xunlei.channel.common.utils.encrypt.Sha512Encrypt
 
sha512Encrypt(String, String, String) - Static method in class com.xunlei.channel.common.utils.encrypt.Sha512Encrypt
 
sign(Map<String, String>, Set<String>, String, String, boolean) - Static method in class com.xunlei.channel.common.utils.sign.SignUtils
Sign the params to md5 message.
SIGNATURE_ALGORITHM - Static variable in class com.xunlei.channel.common.utils.encrypt.RSASignature
 
signByPrivateKey(String, String) - Static method in class com.xunlei.channel.common.utils.encrypt.RSASignature
RSA私钥签名
SignUtils - Class in com.xunlei.channel.common.utils.sign
Sign utils.
SignUtils() - Constructor for class com.xunlei.channel.common.utils.sign.SignUtils
 
sortStringArray(String[]) - Static method in class com.xunlei.channel.common.utils.string.StringUtils
 
SP1 - Static variable in class com.xunlei.channel.common.utils.date.DateUtils
yyyy-MM-dd HH:mm:ss
SP2 - Static variable in class com.xunlei.channel.common.utils.date.DateUtils
yyyyMMddHHmmss
SP3 - Static variable in class com.xunlei.channel.common.utils.date.DateUtils
yyyy-MM-dd
SP4 - Static variable in class com.xunlei.channel.common.utils.date.DateUtils
yyyyMMdd
split(String, String) - Static method in class com.xunlei.channel.common.utils.string.StringUtils
 
splitArrayElementsIntoProperties(String[], String) - Static method in class com.xunlei.channel.common.utils.string.StringUtils
 
splitArrayElementsIntoProperties(String[], String, String) - Static method in class com.xunlei.channel.common.utils.string.StringUtils
 
splitBySize(List<T>, int) - Static method in class com.xunlei.channel.common.utils.CollectionUtils
Split list and every result list less than maxSize
splitBySize(Class<T>, T[], int) - Static method in class com.xunlei.channel.common.utils.CollectionUtils
Split list and every result list less than maxSize
SqlUtils - Class in com.xunlei.channel.common.utils.sql
 
SqlUtils() - Constructor for class com.xunlei.channel.common.utils.sql.SqlUtils
 
startsWithIgnoreCase(String, String) - Static method in class com.xunlei.channel.common.utils.string.StringUtils
 
state(boolean, String) - Static method in class com.xunlei.channel.common.utils.Assert
Assert a boolean expression, throwing IllegalStateException if the test result is false.
state(boolean) - Static method in class com.xunlei.channel.common.utils.Assert
Assert a boolean expression, throwing IllegalStateException if the test result is false.
stringHashCode(String) - Static method in class com.xunlei.channel.common.utils.network.NetWorkUtils
Returns a hash code for this string.
StringUtil - Class in com.xunlei.channel.common.utils.string
字符处理工具类
StringUtil() - Constructor for class com.xunlei.channel.common.utils.string.StringUtil
 
StringUtils - Class in com.xunlei.channel.common.utils.string
 
StringUtils() - Constructor for class com.xunlei.channel.common.utils.string.StringUtils
 
stripFilenameExtension(String) - Static method in class com.xunlei.channel.common.utils.string.StringUtils
 
sub(double, double) - Static method in class com.xunlei.channel.common.utils.arith.Arith
提供精确的减法运算。
substringMatch(CharSequence, int, CharSequence) - Static method in class com.xunlei.channel.common.utils.string.StringUtils
 
subtract(BigDecimal, BigDecimal, int) - Static method in class com.xunlei.channel.common.utils.arith.Arith
减法

T

toArray(Enumeration<E>, A[]) - Static method in class com.xunlei.channel.common.utils.CollectionUtils
Marshal the elements from the given enumeration into an array of the given type.
toIterator(Enumeration<E>) - Static method in class com.xunlei.channel.common.utils.CollectionUtils
Adapt an enumeration to an iterator.
tokenizeToStringArray(String, String) - Static method in class com.xunlei.channel.common.utils.string.StringUtils
 
tokenizeToStringArray(String, String, boolean, boolean) - Static method in class com.xunlei.channel.common.utils.string.StringUtils
 
toLanguageTag(Locale) - Static method in class com.xunlei.channel.common.utils.string.StringUtils
 
toMultiValueMap(Map<K, List<V>>) - Static method in class com.xunlei.channel.common.utils.CollectionUtils
Adapt a Map<K, List<V>> to an MultiValueMap<K, V>.
toObjectArray(Object) - Static method in class 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>) - Static method in class com.xunlei.channel.common.utils.sign.SignUtils
 
toSingleValueMap() - Method in interface com.xunlei.channel.common.utils.MultiValueMap
Returns the first values contained in this MultiValueMap.
toString() - Method in exception com.xunlei.channel.common.utils.exception.CommonException
 
toString() - Method in class com.xunlei.channel.common.utils.ParameterizedTypeReference
 
toStringArray(Collection<String>) - Static method in class com.xunlei.channel.common.utils.string.StringUtils
 
toStringArray(Enumeration<String>) - Static method in class com.xunlei.channel.common.utils.string.StringUtils
 
trimAllWhitespace(String) - Static method in class com.xunlei.channel.common.utils.string.StringUtils
 
trimArrayElements(String[]) - Static method in class com.xunlei.channel.common.utils.string.StringUtils
 
trimLeadingCharacter(String, char) - Static method in class com.xunlei.channel.common.utils.string.StringUtils
 
trimLeadingWhitespace(String) - Static method in class com.xunlei.channel.common.utils.string.StringUtils
 
trimTrailingCharacter(String, char) - Static method in class com.xunlei.channel.common.utils.string.StringUtils
 
trimTrailingWhitespace(String) - Static method in class com.xunlei.channel.common.utils.string.StringUtils
 
trimWhitespace(String) - Static method in class com.xunlei.channel.common.utils.string.StringUtils
 
type - Variable in class com.xunlei.channel.common.utils.http.HttpParameterHandler
 

U

uncapitalize(String) - Static method in class com.xunlei.channel.common.utils.string.StringUtils
 
UnitArith - Class in com.xunlei.channel.common.utils.arith
单位转换工具类
UnitArith() - Constructor for class com.xunlei.channel.common.utils.arith.UnitArith
 
unmodifiableMultiValueMap(MultiValueMap<? extends K, ? extends V>) - Static method in class com.xunlei.channel.common.utils.CollectionUtils
Return an unmodifiable view of the specified multi-value map.
unqualify(String) - Static method in class com.xunlei.channel.common.utils.string.StringUtils
 
unqualify(String, char) - Static method in class com.xunlei.channel.common.utils.string.StringUtils
 
upperCaseLetters - Static variable in class com.xunlei.channel.common.utils.string.Words
 
upperCaseLetters() - Static method in class com.xunlei.channel.common.utils.string.Words
 
UTF8 - Static variable in class com.xunlei.channel.common.utils.encrypt.Md5Encrypt
 

V

valueOf(String) - Static method in enum com.xunlei.channel.common.utils.carriers.MobileCarriers
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.xunlei.channel.common.utils.carriers.MobileCarriers
Returns an array containing the constants of this enum type, in the order they are declared.
verifySignByPublicKey(String, String, String) - Static method in class com.xunlei.channel.common.utils.encrypt.RSASignature
RSA校验签名
verifySignByPublicKey(String, String, String, String) - Static method in class com.xunlei.channel.common.utils.encrypt.RSASignature
RSA校验签名

W

Words - Class in com.xunlei.channel.common.utils.string
 
Words() - Constructor for class com.xunlei.channel.common.utils.string.Words
 
words() - Static method in class com.xunlei.channel.common.utils.string.Words
 

X

X509 - Static variable in class com.xunlei.channel.common.utils.encrypt.RSASignature
 
XmlHelper - Class in com.xunlei.channel.common.utils
 
XmlHelper() - Constructor for class com.xunlei.channel.common.utils.XmlHelper
 

Y

yuanTofen(String) - Static method in class com.xunlei.channel.common.utils.arith.UnitArith
元变分,并保留两位小数
yuanTofen(double) - Static method in class com.xunlei.channel.common.utils.arith.UnitArith
元变分,并保留两位小数

_

_255 - Static variable in class 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 _ 
Skip navigation links

Copyright © 2018. All rights reserved.