- 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
-
返回一个定长的随机字符串(只包含数字)
- getCarriers() - 枚举 中的方法com.xunlei.channel.common.utils.carriers.MobileCarriers
-
- getCarriersMobileStatementConfig() - 类 中的方法com.xunlei.channel.common.utils.carriers.config.MobileCarriersPropertiesConfigService
-
- getCarriersMobileStatementConfig() - 接口 中的方法com.xunlei.channel.common.utils.carriers.MobileCarriersConfigService
-
- getCarriersTelecomStatementConfig() - 类 中的方法com.xunlei.channel.common.utils.carriers.config.MobileCarriersPropertiesConfigService
-
- getCarriersTelecomStatementConfig() - 接口 中的方法com.xunlei.channel.common.utils.carriers.MobileCarriersConfigService
-
- getCarriersUnicomStatementConfig() - 类 中的方法com.xunlei.channel.common.utils.carriers.config.MobileCarriersPropertiesConfigService
-
- getCarriersUnicomStatementConfig() - 接口 中的方法com.xunlei.channel.common.utils.carriers.MobileCarriersConfigService
-
- getClasses(ClassLookupHelper.ClassFileFilter) - 类 中的静态方法com.xunlei.channel.common.utils.scan.ClassLookupHelper
-
从所有的 classpath 下面搜索指定的 Class
- getClasses(Package, boolean, ClassLookupHelper.ClassFileFilter) - 类 中的静态方法com.xunlei.channel.common.utils.scan.ClassLookupHelper
-
从指定 package 中获取所有的 Class
- getClasses(String, boolean, ClassLookupHelper.ClassFileFilter) - 类 中的静态方法com.xunlei.channel.common.utils.scan.ClassLookupHelper
-
从指定 package 中获取所有的 Class
- 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
-
- getDateStringByFormat(Date, 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点时间(即一天的开始)
- identityToString(Object) - 类 中的静态方法com.xunlei.channel.common.utils.ObjectUtils
-
Return a String representation of an object's overall identity.
- ignoreInterface(boolean) - 类 中的方法com.xunlei.channel.common.utils.scan.PackageScanner
-
- 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 .
- isSupportAll(MobileCarriers[]) - 枚举 中的静态方法com.xunlei.channel.common.utils.carriers.MobileCarriers
-
- 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.
- 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
-
- newScanner() - 类 中的静态方法com.xunlei.channel.common.utils.scan.PackageScanner
-
- 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
-