Uses of Annotation Type
com.acanx.annotation.Alpha
Packages that use Alpha
Package
Description
-
Uses of Alpha in com.acanx.annotation
Classes in com.acanx.annotation with annotations of type AlphaModifier and TypeClassDescription@interface
标识新开发的不稳定的API,后续版本可能会修改、重构或者删除@interface
已通过单元测试的孵化器包下的类或者方法可以使用此注解来标记 -
Uses of Alpha in com.acanx.constant
Classes in com.acanx.constant with annotations of type Alpha -
Uses of Alpha in com.acanx.util
Classes in com.acanx.util with annotations of type AlphaMethods in com.acanx.util with annotations of type AlphaModifier and TypeMethodDescriptionstatic void
ThreadUtil.denyTime
(int ms) 延迟当前线程执行static BigInteger
BigIntegerUtil.getCurrentDateTimeNs()
获取当前的23位数字类型的日期 格式:yyyyMMddHHmmssSSSSSSSSSstatic BigInteger
BigIntegerUtil.getCurrentDateTimeUs()
获取当前的20位数字类型的日期 格式:yyyyMMddHHmmssSSSSSSstatic String
DateTimeUtil.localDateTimeToNsTs
(LocalDateTime localDateTime) 将时间转换为纳秒级别的时间戳 Long类型static String
DateTimeUtil.localDateTimeToUsTs
(LocalDateTime localDateTime) 将时间转换为微秒级别的时间戳 Long类型 -
Uses of Alpha in com.acanx.utils
Classes in com.acanx.utils with annotations of type AlphaModifier and TypeClassDescriptionclass
ACANX-Util / com.acanx.utils / BigDecamicalUtil.java 文件由 ACANX 创建于 2019/7/26 - 17:15 Description BigDecamicalUtil: 补充说明: Date 2019/7/26 17:15class
ACANX-Util / com.acanx.utils / PropertiesUtil 文件由 ACANX 创建于 2019/1/5 . 15:54 PropertiesUtil: 补充说明: 2019/1/5 15:54Methods in com.acanx.utils with annotations of type AlphaModifier and TypeMethodDescriptionstatic String
StringUtil.camelCaseToUnderline
(String camelString) 将下划线字符串转换为驼峰字符串static String
StringUtil.camelToSplitName
(String camelName, String split) 驼峰转下划线static int
IPv4Util.checkIPv4Type
(String ip) 判断IP地址类型static char
IPv4Util.checkLocalAreaNetworkIPType
(String ip) 判断IP地址是否属于局域网网络,并返回相应的类别('A'、'B'、'C')或'0'static boolean
StringUtil.contains
(CharSequence seq, CharSequence searchSeq) Checks if CharSequence contains a search CharSequence, handlingnull
.static boolean
StringUtil.containsAll
(String str, String searchChars) containsAllstatic int
DateUtil.dateAdd
(int beginDate, int delta) 日期前后X天的日期计算static String
StringUtil.defaultIfBlank
(String str) defaultIfBlankstatic boolean
FileUtil.deleteFile
(File file) 删除目标文件static boolean
字符串相同判断static boolean
FileUtil.fileExists
(File file) 文件是否存在static Date
StringUtil.formattedDateStringToDate
(String dateStr, String dateFormat) 将String字符串转换为java.util.Date格式日期static Timestamp
StringUtil.formattedDateStringToTimestamp
(String dateStr, String format) 日期时间字符串转Timestampstatic Timestamp
StringUtil.formattedDateStrToSqlDate
(String dateStr, String dateFormat) 将String字符串转换为java.sql.Timestamp格式日期,用于数据库保存static Long
StringUtil.formattedTimeStringToLong
(String time, String format) 将字符串转日期成Long类型的时间戳,格式为:yyyy-MM-dd HH:mm:ssstatic String
StringUtil.getCurrentDateTimeString
(SimpleDateFormat sdf) 获取当前日期时间字符串static String
LocalDateTimeUtil.getCurrentFormatTime
(DateTimeFormatter dtf) 获取当前时间,并按照指定格式格式化static String
IPv4Util.getCurrentHostPublicIp()
获取当前主机的公网IP地址FileUtil.getFileList
(File dir) 重载方法,支持传入多个目录static String
FileUtil.getFileMD5
(File file) 计算文件的MD5static String
FileUtil.getFileSHA1
(File file) 计算文件的SHA1FileUtil.getFilteredFileList
(File dir, FileFilter fileFilter) 获取过滤后的文件列表static String
StringUtil.getStringMD5Code
(String str) 字符串的MD5加密 默认输出为大写十六进制字符static String
StringUtil.getStringSHA1Code
(String input) 获取字符串的SHA1值static String
生成指定长度的指定字符串 如: getStrSeq("123", 3) return "123123123" getStrSeq("321", 4) return "321321321321"static boolean
StringUtil.isAlpha
(CharSequence cs) Checks if the CharSequence contains only Unicode letters.static boolean
StringUtil.isAlphanumeric
(String str) StringUtil.isAlphanumeric(null) = false StringUtil.isAlphanumeric("") = false StringUtil.isAlphanumeric(" ") = false StringUtil.isAlphanumeric("abc") = true StringUtil.isAlphanumeric("ab c") = false StringUtil.isAlphanumeric("ab2c") = true StringUtil.isAlphanumeric("ab-c") = falsestatic boolean
字符串空格判断static boolean
DateUtil.isDateValid
(int date) int类型的日期合法性校验(仅限1970年及以后的日期)static boolean
StringUtil.isEmpty
(CharSequence cs) Checks if a CharSequence is empty ("") or null.static boolean
Checks if a CharSequence is empty ("") or null.static boolean
StringUtil.isNotBlank
(String str) StringUtil.isNotBlank(null) = false StringUtil.isNotBlank("") = false StringUtil.isNotBlank(" ") = false StringUtil.isNotBlank("bob") = true StringUtil.isNotBlank(" bob ") = truestatic boolean
StringUtil.isNotEmpty
(String str) Checks if a CharSequence is not empty ("") and not null.static boolean
StringUtil.isNumeric(null) = false StringUtil.isNumeric("") = false StringUtil.isNumeric(" ") = false StringUtil.isNumeric("123") = true StringUtil.isNumeric("१२३") = true StringUtil.isNumeric("12 3") = false StringUtil.isNumeric("ab2c") = false StringUtil.isNumeric("12-3") = false StringUtil.isNumeric("12.3") = false StringUtil.isNumeric("-123") = false StringUtil.isNumeric("+123") = falsestatic boolean
IPv4Util.isValidIPv4
(String ip) 判断输入的ip地址是否是合法的IPv4地址static boolean
IPv6Util.isValidIPv6
(String ip) 判断输入的IP地址是否是合法的IPv6地址static boolean
StringUtil.isWhitespace
(CharSequence cs) Checks if the CharSequence contains only whitespace.static String
StringUtil.join
(int[] array, char separator) Joins the elements of the provided array into a single String containing the provided list of elements.static String
StringUtil.join
(int[] array, char delimiter, int startIndex, int endIndex) Joins the elements of the provided array into a single String containing the provided list of elements.static String
joinstatic String
Joins the elements of the provided array into a single String containing the provided list of elements.static String
Joins the elements of the provided array into a single String containing the provided list of elements.static String
Joins the elements of the providedIterator
into a single String containing the provided elements.static String
Joins the elements of the providedList
into a single String containing the provided list of elements.static <T> String
StringUtil.join
(T... elements) Joins the elements of the provided array into a single String containing the provided list of elements.static String
leftstatic String
leftstatic String
StringUtil.leftDelChar
(String descStr, String text, char ch) leftDelCharstatic String
Left pad a String with a specified character.static String
Left pad a String with a specified String.static String
StringUtil.listToString
(List<String> list, boolean wrappeFlag, char separator) 集合转字符串(以separator(如逗号)间隔)static void
移动文件static Date
DateUtil.nowDate()
返回表示系统当前时间的java.util.Date对象static int
StringUtil.positionOf
(String str, char searchChar) 字符在字符串中的位置static int
StringUtil.positionOf
(String str, String searchStr) 子字符串在字符串中的位置static String
FileUtil.readFileToString
(File file) static String
FileUtil.readFileToString
(File file, String charsetName) Reads the contents of a file into a String.static String
FileUtil.readFileToString
(File file, Charset charset) Reads the contents of a file into a String.Reads the contents of a file line by line to a List of Strings.Reads the contents of a file line by line to a List of Strings.按行读取文件,将其保存到字符串集合中返回static String
字符串左static String
rightstatic String
Right pad a String with a specified character.static String
Right pad a String with a specified String.static String
StringUtil.splitNameByLastCamel
(String camelName) splitNameByLastCamelStringUtil.stringToList
(String str) 元素之间以逗号间隔的字符串转集合static String
Gets a substring from the specified String avoiding exceptions.static String
substringstatic boolean
StringUtil.substringEquals
(String str1, int pos, int len, String str2) substringEqualsstatic String
StringUtil.timestampStrToFormattedDateString
(String seconds, String format) 秒级的时间戳转Datestatic Date
LocalDateTimeUtil.toDate
(LocalDateTime localDateTime) static String
LocalDateTimeUtil.toDateStr
(LocalDateTime date, String splitChar) LocalDateTime转字符串 例如: yyyy/MM/dd yyyy-MM-dd yyyy_MM_ddstatic String
DateUtil.toFormatStr
(Date date, String strFormat) 将java.util.Date对象转化为String字符串static Integer
LocalDateTimeUtil.toIntDate
(LocalDateTime date) 将输入的date转换为对应的数字日期,数字日期的格式:yyyyMMddstatic LocalDateTime
DateUtil.toLocalDateTime
(Date date) 将 java.util.Date 转换为 java.time.LocalDateTime,使用系统默认时区Date
转LocalDateTime
static Long
LocalDateTimeUtil.toLong
(LocalDateTime localDateTime) LocalDateTime 转Longstatic Timestamp
DateUtil.toTimestamp
(Date date) 将java.util.Date对象转化为java.sql.Timestamp对象static String
StringUtil.toUpperCaseFirstChar
(String value) 字符串首字母转大写static void
FileUtil.write
(File file, CharSequence data) Writes a CharSequence to a file creating the file if it does not exist.static void
FileUtil.write
(File file, CharSequence data, Charset charset) Writes a CharSequence to a file creating the file if it does not exist.static void
FileUtil.writeLines
(File file, Collection<?> lines, Charset charset) 按行写入字符串集合 -
Uses of Alpha in com.acanx.utils.file.filter
Classes in com.acanx.utils.file.filter with annotations of type AlphaModifier and TypeClassDescriptionclass
ParameterizedFileFilter 通用文件过滤器class
Deprecated. -
Uses of Alpha in com.acanx.utils.incubator
Classes in com.acanx.utils.incubator with annotations of type AlphaModifier and TypeClassDescriptionclass
音频处理相关工具类class
Boolean类型工具类class
字符相关处理工具类class
Java集合处理工具类class
Long类型处理工具类class
NetUtilclass
ObjectUtilclass
TimestampUtilMethods in com.acanx.utils.incubator with annotations of type AlphaModifier and TypeMethodDescriptionAudioFileUtil.getAudioFileList
(File dir, List<File> list) 获取单个文件夹下的音乐文件列表AudioFileUtil.getAudioFileList
(List<File> dirs, List<File> list) 获取多个文件夹下的音乐文件列表 重载方法,支持传入多个目录static Integer
IntUtil.getCurrentDate()
获取当前的8位数字类型的日期 格式:yyyyMMddstatic Long
LongUtil.getCurrentDateTimeMs()
获取当前的8位数字类型的日期 格式:yyyyMMddHHmmssSSSstatic Integer
IntUtil.getCurrentTime()
获取当前的8位数字类型的日期 格式:yyyyMMddstatic Object
ReflectionUtil.getFieldValue
(Object obj, String fieldName) 利用反射获取指定对象的指定属性static String
RandomUtil.getRandomNum
(int length) 生成随机数字符串static String
CharacterUtil.getRandomStr
(int length) 第二种方法static boolean
CollectionUtil.isEmpty
(Collection<?> coll) Null-safe check if the specified collection is empty.static boolean
CollectionUtil.isNotEmpty
(Collection<?> coll) Null-safe check if the specified collection is not empty.static boolean
ReflectionUtil.isPrimitive
(Class<?> cls) isPrimitivestatic boolean
ReflectionUtil.isPrimitives
(Class<?> cls) isPrimitivestatic Timestamp
TimestampUtil.nowTimestamp()
返回表示系统当前时间的java.sql.Timestamp对象static void
ReflectionUtil.setFieldValue
(Object obj, String fieldName, String fieldValue) 利用反射设置指定对象的指定属性为指定的值static Date
将java.sql.Timestamp对象转化为java.util.Date对象static String
LongUtil.toFormattedString
(Long time, String format) 将Long类型的时间戳转换成String 类型的时间格式,static String
TimestampUtil.toFormattedString
(Timestamp time, String strFormat) 将java.sql.Timestamp对象转化为String字符串static LocalDateTime
LongUtil.toLocalDateTime
(Long timestamp) Timestamp 转 LocalDateTime -
Uses of Alpha in com.acanx.utils.incubator.enums
Classes in com.acanx.utils.incubator.enums with annotations of type AlphaModifier and TypeClassDescriptionenum
Meta数据类型枚举类enum
MetaBizDataTypeEnum -
Uses of Alpha in com.acanx.utils.incubator.os
Classes in com.acanx.utils.incubator.os with annotations of type Alpha -
Uses of Alpha in com.acanx.utils.incubator.time
Classes in com.acanx.utils.incubator.time with annotations of type AlphaModifier and TypeClassDescriptionclass
ACANX-Utils / com.acanx.utils / StopWatch.java 文件由 ACANX 创建于 2019/7/26 - 17:37 Description StopWatch: Spring框架工具类 Simple stop watch, allowing for timing of a number of tasks, exposing total running time and running time for each named task.