$ A B C D E F G H I L M N P R S T U V W X Z 

$

$ - me.wuwenbin.lang.entrance中的类
工具集合入口 Created by wuwenbin on 2017/6/11.
$() - 类 的构造器me.wuwenbin.lang.entrance.$
 

A

accountantMoney(BigDecimal) - 类 中的方法me.wuwenbin.lang.common.Money
将人民币转换为会计格式金额(xxxx,xxxx,xxxx.xx),保留两位小数
addPrefixIfNot(String, String) - 类 中的方法me.wuwenbin.lang.common.StringHelper
如果给定字符串不是以prefix开头的,在开头补充 prefix
addSuffixIfNot(String, String) - 类 中的方法me.wuwenbin.lang.common.StringHelper
如果给定字符串不是以suffix结尾的,在尾部补充 suffix
Amount - me.wuwenbin.lang.common中的类
金额操作
Amount() - 类 的构造器me.wuwenbin.lang.common.Amount
 
amount - 类 中的静态变量me.wuwenbin.lang.entrance.$
金额操作
arrayMapToStringMap(Map<String, String[]>) - 类 中的方法me.wuwenbin.lang.common.RequestWeb
string[]Map to string Map
attrValue(Element, String) - 类 中的方法me.wuwenbin.lang.config.xml.XmlDom4j
 

B

BACKSLASH - 类 中的静态变量me.wuwenbin.lang.common.StringHelper
 
builder() - 类 中的方法me.wuwenbin.lang.common.StringHelper
创建StringBuilder对象
builder(int) - 类 中的方法me.wuwenbin.lang.common.StringHelper
创建StringBuilder对象
builder(String...) - 类 中的方法me.wuwenbin.lang.common.StringHelper
创建StringBuilder对象
byteBuffer(String, String) - 类 中的方法me.wuwenbin.lang.common.StringHelper
字符串转换为byteBuffer
bytes(String) - 类 中的方法me.wuwenbin.lang.common.StringHelper
编码字符串
使用系统默认编码
bytes(String, String) - 类 中的方法me.wuwenbin.lang.common.StringHelper
编码字符串
bytes(String, Charset) - 类 中的方法me.wuwenbin.lang.common.StringHelper
编码字符串

C

C_BACKSLASH - 类 中的静态变量me.wuwenbin.lang.common.StringHelper
 
C_COLON - 类 中的静态变量me.wuwenbin.lang.common.StringHelper
 
C_COMMA - 类 中的静态变量me.wuwenbin.lang.common.StringHelper
 
C_CR - 类 中的静态变量me.wuwenbin.lang.common.StringHelper
 
C_DELIMITER_END - 类 中的静态变量me.wuwenbin.lang.common.StringHelper
 
C_DELIMITER_START - 类 中的静态变量me.wuwenbin.lang.common.StringHelper
 
C_DOT - 类 中的静态变量me.wuwenbin.lang.common.StringHelper
 
C_LF - 类 中的静态变量me.wuwenbin.lang.common.StringHelper
 
C_SLASH - 类 中的静态变量me.wuwenbin.lang.common.StringHelper
 
C_SPACE - 类 中的静态变量me.wuwenbin.lang.common.StringHelper
 
C_TAB - 类 中的静态变量me.wuwenbin.lang.common.StringHelper
 
C_UNDERLINE - 类 中的静态变量me.wuwenbin.lang.common.StringHelper
 
ClassScan - me.wuwenbin.lang.common中的类
Java Class扫描操作
ClassScan() - 类 的构造器me.wuwenbin.lang.common.ClassScan
 
classScan - 类 中的静态变量me.wuwenbin.lang.entrance.$
java class扫描
cleanBlank(String) - 类 中的方法me.wuwenbin.lang.common.StringHelper
清理空白字符
COLON - 类 中的静态变量me.wuwenbin.lang.common.StringHelper
 
COMMA - 类 中的静态变量me.wuwenbin.lang.common.StringHelper
 
commandPath(String) - 类 中的方法me.wuwenbin.lang.file.FilePath
返回一个通用的文件路径
compareDate(Date, Date) - 类 中的方法me.wuwenbin.lang.common.WebDate
 
containsIgnoreCase(String, String) - 类 中的方法me.wuwenbin.lang.common.StringHelper
是否包含特定字符,忽略大小写,如果给定两个参数都为null,返回true
convert(String) - 类 中的方法me.wuwenbin.lang.common.Amount
将金额(整数部分等于或少于12位,小数部分2位)转换为中文大写形式.
convert(File, String, File) - 类 中的方法me.wuwenbin.lang.common.Image
图像类型转换:GIF->JPG、GIF->PNG、PNG->JPG、PNG->GIF(X)、BMP->PNG
copy(File, File, boolean) - 类 中的方法me.wuwenbin.lang.file.Files
复制文件或者文件夹
count(String, String) - 类 中的方法me.wuwenbin.lang.common.StringHelper
统计指定内容中包含指定字符串的数量
参数为 null 或者 "" 返回 0.
count(String, char) - 类 中的方法me.wuwenbin.lang.common.StringHelper
统计指定内容中包含指定字符的数量
countSubStrReg(String, String) - 类 中的方法me.wuwenbin.lang.common.Regex
获取符合reg正则表达式的字符串在String中出现的次数
CR - 类 中的静态变量me.wuwenbin.lang.common.StringHelper
 
createEmptyXmlFile(String) - 类 中的方法me.wuwenbin.lang.config.xml.XmlDom4j
 
CRLF - 类 中的静态变量me.wuwenbin.lang.common.StringHelper
 
currentTimestamp() - 类 中的方法me.wuwenbin.lang.common.WebDate
 
currentTimestamp2String(String) - 类 中的方法me.wuwenbin.lang.common.WebDate
 
cut(File, File, int, int, int, int) - 类 中的方法me.wuwenbin.lang.common.Image
图像切割(按指定起点坐标和宽高切割)
cut(File, File, int, int) - 类 中的方法me.wuwenbin.lang.common.Image
图像切割(指定切片的宽度和高度)
cutByRowsAndCols(File, File, int, int) - 类 中的方法me.wuwenbin.lang.common.Image
图像切割(指定切片的行数和列数)

D

date2GregorianCalendarString(Date) - 类 中的方法me.wuwenbin.lang.common.WebDate
 
date2String(Date, String) - 类 中的方法me.wuwenbin.lang.common.WebDate
 
DELEMITER_START - 类 中的静态变量me.wuwenbin.lang.common.StringHelper
 
deleteAll(String) - 类 中的方法me.wuwenbin.lang.file.Files
删除所有文件,包括文件夹
DELIMITER_END - 类 中的静态变量me.wuwenbin.lang.common.StringHelper
 
dom4jXml - 类 中的静态变量me.wuwenbin.lang.entrance.$
dom4j方式处理xml
DOT - 类 中的静态变量me.wuwenbin.lang.common.StringHelper
 
DOUBLE_DOT - 类 中的静态变量me.wuwenbin.lang.common.StringHelper
 

E

elementText(Element, String) - 类 中的方法me.wuwenbin.lang.config.xml.XmlW3c
根据节点名获得第一个子节点
elementText(Element, String, String) - 类 中的方法me.wuwenbin.lang.config.xml.XmlW3c
根据节点名获得第一个子节点
EMPTY - 类 中的静态变量me.wuwenbin.lang.common.StringHelper
 
EMPTY_JSON - 类 中的静态变量me.wuwenbin.lang.common.StringHelper
 
emptyToNull(String) - 类 中的方法me.wuwenbin.lang.common.StringHelper
当给定字符串为空字符串时,转换为null
endWith(String, String, boolean) - 类 中的方法me.wuwenbin.lang.common.StringHelper
是否以指定字符串结尾
endWithIgnoreCase(String, String) - 类 中的方法me.wuwenbin.lang.common.StringHelper
是否以指定字符串结尾,忽略大小写
equals(String, String) - 类 中的方法me.wuwenbin.lang.common.StringHelper
比较两个字符串(大小写敏感)。
equalsIgnoreCase(String, String) - 类 中的方法me.wuwenbin.lang.common.StringHelper
比较两个字符串(大小写不敏感)。

F

filePath - 类 中的静态变量me.wuwenbin.lang.entrance.$
文件名及文件路径相关的操作
FilePath - me.wuwenbin.lang.file中的类
文件名及文件路径相关的操作
FilePath() - 类 的构造器me.wuwenbin.lang.file.FilePath
 
files - 类 中的静态变量me.wuwenbin.lang.entrance.$
文件工具类
Files - me.wuwenbin.lang.file中的类
 
Files() - 类 的构造器me.wuwenbin.lang.file.Files
 
filterHtmlTag(String, String) - 类 中的方法me.wuwenbin.lang.common.HtmlTag
Author : Wuwenbin
Title : filterHtmlTag
Description : 过滤指定标签
format(String, Object...) - 类 中的方法me.wuwenbin.lang.common.Placeholder
格式化字符串
此方法只是简单将占位符 {} 按照顺序替换为参数
如果想输出 {} 使用 \\转义 { 即可,如果想输出 {} 之前的 \ 使用双转义符 \\\\ 即可
例:
通常使用:format("this is {} for {}", "a", "b") -> this is a for b
转义{}: format("this is \\{} for {}", "a", "b") -> this is \{} for a
转义\: format("this is \\\\{} for {}", "a", "b") -> this is \a for b
format(String, Object...) - 类 中的方法me.wuwenbin.lang.common.StringHelper
格式化文本, {} 表示占位符
此方法只是简单将占位符 {} 按照顺序替换为参数
如果想输出 {} 使用 \\转义 { 即可,如果想输出 {} 之前的 \ 使用双转义符 \\\\ 即可
例:
通常使用:format("this is {} for {}", "a", "b") -> this is a for b
转义{}: format("this is \\{} for {}", "a", "b") -> this is \{} for a
转义\: format("this is \\\\{} for {}", "a", "b") -> this is \a for b
format(String, Map<?, ?>) - 类 中的方法me.wuwenbin.lang.common.StringHelper
格式化文本,使用 {varName} 占位
map = {a: "aValue", b: "bValue"} format("{a} and {b}", map) ----> aValue and bValue

G

getAccountantMoney(BigDecimal, int, double) - 类 中的方法me.wuwenbin.lang.common.Money
获取会计格式的人民币(格式为:xxxx,xxxx,xxxx.xx)
getAttribute(Element, String) - 类 中的方法me.wuwenbin.lang.config.xml.XmlDom4j
 
getAttributeList(Element) - 类 中的方法me.wuwenbin.lang.config.xml.XmlDom4j
 
getAttrIterator(Element) - 类 中的方法me.wuwenbin.lang.config.xml.XmlDom4j
 
getBytesByFilepath(String) - 类 中的方法me.wuwenbin.lang.file.Files
Author : Wuwenbin
Title : getBytesByFilepath
Description : 获得指定文件的byte数组
getChild(Element, String) - 类 中的方法me.wuwenbin.lang.config.xml.XmlDom4j
 
getChildElements(Element, String) - 类 中的方法me.wuwenbin.lang.config.xml.XmlDom4j
 
getChildList(Element) - 类 中的方法me.wuwenbin.lang.config.xml.XmlDom4j
 
getDocument(String) - 类 中的方法me.wuwenbin.lang.config.xml.XmlDom4j
根据xml文件路径取得document对象
getElement(Element, String) - 类 中的方法me.wuwenbin.lang.config.xml.XmlW3c
根据节点名获得第一个子节点
getElements(Element, String) - 类 中的方法me.wuwenbin.lang.config.xml.XmlW3c
根据节点名获得子节点列表
getEndTimeOfDate(Date) - 类 中的方法me.wuwenbin.lang.common.WebDate
 
getFileByByte(byte[], String, String) - 类 中的方法me.wuwenbin.lang.file.Files
Author : Wuwenbin
Title : getFileByByte
Description : 根据byte数组,生成文件
getFileMD5(File) - 类 中的方法me.wuwenbin.lang.file.Files
获取文件的MD5
getFileSize(File) - 类 中的方法me.wuwenbin.lang.file.Files
获取指定文件的大小
getFileSuffix(String) - 类 中的方法me.wuwenbin.lang.file.Files
获取文件的后缀
getFirstDayOfMonth(Calendar) - 类 中的方法me.wuwenbin.lang.common.WebDate
 
getFirstSpell(String) - 类 中的方法me.wuwenbin.lang.common.PinYin
方法名: getFirstSpell 方法作用: TODO 得到拼音首字母 创建人:Jxufe Zhangpeng 创建时间:2014-11-21 上午09:26:26
getFormatMoney(BigDecimal, int, double) - 类 中的方法me.wuwenbin.lang.common.Money
格式化金额,显示为xxx万元,xxx百万,xxx亿
getIterator(Element) - 类 中的方法me.wuwenbin.lang.config.xml.XmlDom4j
 
getLastDayOfMonth(Calendar) - 类 中的方法me.wuwenbin.lang.common.WebDate
 
getNameElement(Element, String) - 类 中的方法me.wuwenbin.lang.config.xml.XmlDom4j
 
getNameNode(String, String, XmlDom4j.Flag) - 类 中的方法me.wuwenbin.lang.config.xml.XmlDom4j
 
getNameNodeAllAttributeMap(String, String, XmlDom4j.Flag) - 类 中的方法me.wuwenbin.lang.config.xml.XmlDom4j
 
getNameNodeAllKidsAttributeMap(Element) - 类 中的方法me.wuwenbin.lang.config.xml.XmlDom4j
 
getNodeAttrMap(Element) - 类 中的方法me.wuwenbin.lang.config.xml.XmlDom4j
 
getPinyin(String) - 类 中的方法me.wuwenbin.lang.common.PinYin
 
getProperty(String, String) - 类 中的方法me.wuwenbin.lang.config.properties.Properties
 
getProperty(String, String, String) - 类 中的方法me.wuwenbin.lang.config.properties.Properties
 
getReader(String) - 类 中的方法me.wuwenbin.lang.common.StringHelper
获得StringReader
getRootNode(Document) - 类 中的方法me.wuwenbin.lang.config.xml.XmlDom4j
 
getRootNode(String) - 类 中的方法me.wuwenbin.lang.config.xml.XmlDom4j
 
getSingleNode(Element, String) - 类 中的方法me.wuwenbin.lang.config.xml.XmlDom4j
 
getSingleNodeText(Element) - 类 中的方法me.wuwenbin.lang.config.xml.XmlDom4j
 
getSingleNodeText(String) - 类 中的方法me.wuwenbin.lang.config.xml.XmlDom4j
 
getStartTimeOfDate(Date) - 类 中的方法me.wuwenbin.lang.common.WebDate
 
getUserSex(String) - 类 中的方法me.wuwenbin.lang.common.IDCard
 
getWriter() - 类 中的方法me.wuwenbin.lang.common.StringHelper
获得StringWriter
gray(File, File) - 类 中的方法me.wuwenbin.lang.common.Image
彩色转为黑白

H

hasBlank(CharSequence...) - 类 中的方法me.wuwenbin.lang.common.StringHelper
是否包含空字符串
hasChild(Element) - 类 中的方法me.wuwenbin.lang.config.xml.XmlDom4j
 
hasEmpty(CharSequence...) - 类 中的方法me.wuwenbin.lang.common.StringHelper
是否包含空字符串
html2Text(String) - 类 中的方法me.wuwenbin.lang.common.HtmlTag
Author : Wuwenbin
Title : html2Text
Description : 将html转译为文本内容
HTML_AMP - 类 中的静态变量me.wuwenbin.lang.common.StringHelper
 
HTML_GT - 类 中的静态变量me.wuwenbin.lang.common.StringHelper
 
HTML_LT - 类 中的静态变量me.wuwenbin.lang.common.StringHelper
 
HTML_NBSP - 类 中的静态变量me.wuwenbin.lang.common.StringHelper
 
HTML_QUOTE - 类 中的静态变量me.wuwenbin.lang.common.StringHelper
 
HtmlTag - me.wuwenbin.lang.common中的类
有关web中html转义的相关工具类方法 Created By wuwenbin on in 2016/9/2
HtmlTag() - 类 的构造器me.wuwenbin.lang.common.HtmlTag
 
htmlTag - 类 中的静态变量me.wuwenbin.lang.entrance.$
有关web中html转义的相关工具类方法

I

IDCard - me.wuwenbin.lang.common中的类
身份证校验工具类,提供较为精确的身份证校验
--15位身份证号码:第7、8位为出生年份(两位数),第9、10位为出生月份,第11、12位代表出生日期,第15位代表性别,奇数为男,偶数为女。
IDCard() - 类 的构造器me.wuwenbin.lang.common.IDCard
 
idCard - 类 中的静态变量me.wuwenbin.lang.entrance.$
身份证校验工具类,提供较为精确的身份证校验
Image - me.wuwenbin.lang.common中的类
图片处理工具类:
功能:缩放图像、切割图像、图像类型转换、彩色转黑白、文字水印、图片水印等 参考:http://blog.csdn.net/zhangzhikaixinya/article/details/8459400
Image() - 类 的构造器me.wuwenbin.lang.common.Image
 
image - 类 中的静态变量me.wuwenbin.lang.entrance.$
图片处理工具类:功能:缩放图像、切割图像、图像类型转换、彩色转黑白、文字水印、图片水印等
IMAGE_TYPE_BMP - 类 中的静态变量me.wuwenbin.lang.common.Image
 
IMAGE_TYPE_GIF - 类 中的静态变量me.wuwenbin.lang.common.Image
 
IMAGE_TYPE_JPEG - 类 中的静态变量me.wuwenbin.lang.common.Image
 
IMAGE_TYPE_JPG - 类 中的静态变量me.wuwenbin.lang.common.Image
 
IMAGE_TYPE_PNG - 类 中的静态变量me.wuwenbin.lang.common.Image
 
IMAGE_TYPE_PSD - 类 中的静态变量me.wuwenbin.lang.common.Image
 
indexedFormat(String, Object...) - 类 中的方法me.wuwenbin.lang.common.StringHelper
有序的格式化文本,使用{number}做为占位符
例:
通常使用:format("this is {0} for {1}", "a", "b") -> this is a for b
inputStream2ByteArray(InputStream) - 类 中的方法me.wuwenbin.lang.file.Files
Author : Wuwenbin
Title : inputStream2ByteArray
Description : 根据流生成byte数组二进制
INVALID_REGEX - 类 中的静态变量me.wuwenbin.lang.config.xml.XmlW3c
在XML中无效的字符 正则
is18Idcard(String) - 类 中的方法me.wuwenbin.lang.common.IDCard
18位身份证号码的基本数字和位数验校
isABC(String) - 类 中的方法me.wuwenbin.lang.common.Regex
判断是否纯字母组合
isAllBlank(CharSequence...) - 类 中的方法me.wuwenbin.lang.common.StringHelper
给定所有字符串是否为空白
isAllEmpty(CharSequence...) - 类 中的方法me.wuwenbin.lang.common.StringHelper
是否全部为空字符串
isBlank(CharSequence) - 类 中的方法me.wuwenbin.lang.common.StringHelper
字符串是否为空白 空白的定义如下:
1、为null
2、为不可见字符(如空格)
3、""
isEmail(String) - 类 中的方法me.wuwenbin.lang.common.Regex
判断是否是符合邮箱
isEmpty(CharSequence) - 类 中的方法me.wuwenbin.lang.common.StringHelper
字符串是否为空,空的定义如下 1、为null
2、为""
isEmpty(Object) - 类 中的方法me.wuwenbin.lang.common.Validate
检验对象是否为空,String 中只有空格在对象中也算空.
isEmptyCollection(Collection<?>) - 类 中的方法me.wuwenbin.lang.common.Validate
判断集合是否为空
isEmptyMap(Map) - 类 中的方法me.wuwenbin.lang.common.Validate
判断map集合是否为空
isEmptyString(String) - 类 中的方法me.wuwenbin.lang.common.Validate
判断字符串是否为空
isExist(String, boolean) - 类 中的方法me.wuwenbin.lang.file.Files
 
isFloatNumeric(String) - 类 中的方法me.wuwenbin.lang.common.Regex
判断是否浮点数字表示
isMatch(String, String) - 类 中的方法me.wuwenbin.lang.common.Regex
判断字符串str是否符合正则表达式reg
isNotBlank(CharSequence) - 类 中的方法me.wuwenbin.lang.common.StringHelper
字符串是否为非空白 空白的定义如下:
1、不为null
2、不为不可见字符(如空格)
3、不为""
isNotEmpty(CharSequence) - 类 中的方法me.wuwenbin.lang.common.StringHelper
字符串是否为非空白 空白的定义如下:
1、不为null
2、不为""
isNotEmptyArray(T[]) - 类 中的方法me.wuwenbin.lang.common.Validate
判断数组是否不为空
isNotEmptyCollection(Collection<?>) - 类 中的方法me.wuwenbin.lang.common.Validate
判断集合是否不为空
isNotEmptyMap(Map) - 类 中的方法me.wuwenbin.lang.common.Validate
判断map集合是否不为空
isNotEmptyString(String) - 类 中的方法me.wuwenbin.lang.common.Validate
判断字符串是否不为空
isNumeric(String) - 类 中的方法me.wuwenbin.lang.common.Regex
判断是否数字表示
isSurround(String, String, String) - 类 中的方法me.wuwenbin.lang.common.StringHelper
给定字符串是否被字符包围
isSurround(CharSequence, char, char) - 类 中的方法me.wuwenbin.lang.common.StringHelper
给定字符串是否被字符包围
isValidate18Idcard(String) - 类 中的方法me.wuwenbin.lang.common.IDCard
判断18位身份证的合法性 根据〖中华人民共和国国家标准GB11643-1999〗中有关公民身份号码的规定,公民身份号码是特征组合码,由十七位数字本体码和一位数字校验码组成。
isValidatedAllIdcard(String) - 类 中的方法me.wuwenbin.lang.common.IDCard
验证身份证是否合法
isWrap(String, String, String) - 类 中的方法me.wuwenbin.lang.common.StringHelper
指定字符串是否被包装
isWrap(String, String) - 类 中的方法me.wuwenbin.lang.common.StringHelper
指定字符串是否被同一字符包装(前后都有这些字符串)
isWrap(String, char) - 类 中的方法me.wuwenbin.lang.common.StringHelper
指定字符串是否被同一字符包装(前后都有这些字符串)
isWrap(String, char, char) - 类 中的方法me.wuwenbin.lang.common.StringHelper
指定字符串是否被包装

L

LangException - me.wuwenbin.lang.support.exception中的异常错误
工具类异常 修改剔除额外的依赖类,以适应template-xxx系列的规范
LangException(Throwable) - 异常错误 的构造器me.wuwenbin.lang.support.exception.LangException
 
LangException(String) - 异常错误 的构造器me.wuwenbin.lang.support.exception.LangException
 
LangException(String, Object...) - 异常错误 的构造器me.wuwenbin.lang.support.exception.LangException
 
LangException(String, Throwable) - 异常错误 的构造器me.wuwenbin.lang.support.exception.LangException
 
LangException(Throwable, String, Object...) - 异常错误 的构造器me.wuwenbin.lang.support.exception.LangException
 
legalFile(String) - 类 中的方法me.wuwenbin.lang.file.FilePath
判断是否符是合法的文件路径
LF - 类 中的静态变量me.wuwenbin.lang.common.StringHelper
 
lowerFIrstLetter(String) - 类 中的方法me.wuwenbin.lang.common.StringHelper
小写首字母
例如:str = Name, return name

M

me.wuwenbin.lang.common - 程序包 me.wuwenbin.lang.common
 
me.wuwenbin.lang.config.properties - 程序包 me.wuwenbin.lang.config.properties
 
me.wuwenbin.lang.config.xml - 程序包 me.wuwenbin.lang.config.xml
 
me.wuwenbin.lang.entrance - 程序包 me.wuwenbin.lang.entrance
 
me.wuwenbin.lang.file - 程序包 me.wuwenbin.lang.file
 
me.wuwenbin.lang.support.exception - 程序包 me.wuwenbin.lang.support.exception
 
Money - me.wuwenbin.lang.common中的类
金钱处理工具类
Money() - 类 的构造器me.wuwenbin.lang.common.Money
 
money - 类 中的静态变量me.wuwenbin.lang.entrance.$
金钱处理工具类

N

nullToDefault(String, String) - 类 中的方法me.wuwenbin.lang.common.StringHelper
如果字符串是null,则返回指定默认字符串,否则返回字符串本身。
nullToEmpty(String) - 类 中的方法me.wuwenbin.lang.common.StringHelper
当给定字符串为null时,转换为Empty
number2CNMontray(String) - 类 中的方法me.wuwenbin.lang.common.Money
人民币转换为大写,格式为:x万x千x百x十x元x角x分
number2CNMontray(BigDecimal) - 类 中的方法me.wuwenbin.lang.common.Money
人民币转换为大写,格式为:x万x千x百x十x元x角x分

P

padEnd(String, int, char) - 类 中的方法me.wuwenbin.lang.common.StringHelper
补充字符串以满足最小长度 StringHelper.padEnd("1", 3, '0');//"100"
padPre(String, int, char) - 类 中的方法me.wuwenbin.lang.common.StringHelper
补充字符串以满足最小长度 StringHelper.padPre("1", 3, '0');//"001"
PATTERN_DATE - 类 中的变量me.wuwenbin.lang.common.WebDate
 
PATTERN_STANDARD - 类 中的变量me.wuwenbin.lang.common.WebDate
 
PinYin - me.wuwenbin.lang.common中的类
功 能 描 述:
带多音字的拼音工具
代 码 作 者:张鹏(ZhangPeng)
开 发 日 期:2010-11-19下午02:14:49
项 目 信 息:JxufeRjb1.0:com.wisdom.core.utils.PinYin.java
PinYin() - 类 的构造器me.wuwenbin.lang.common.PinYin
 
pinYin - 类 中的静态变量me.wuwenbin.lang.entrance.$
带多音字的拼音处理工具
Placeholder - me.wuwenbin.lang.common中的类
字符串占位模板替换工具,hutool来源 修改部分代码以适应package的更改 Created by wuwenbin on 2017/2/16.
Placeholder() - 类 的构造器me.wuwenbin.lang.common.Placeholder
 
placeholder - 类 中的静态变量me.wuwenbin.lang.entrance.$
字符串占位模板替换工具
pressImage(File, File, File, int, int, float) - 类 中的方法me.wuwenbin.lang.common.Image
给图片添加图片水印
pressText(String, File, File, String, int, Color, int, int, int, float) - 类 中的方法me.wuwenbin.lang.common.Image
给图片添加文字水印
Properties - me.wuwenbin.lang.config.properties中的类
author: 伍文彬 Wuwenbin
date: 2016年8月2日
time: 下午4:57:51 导入
ClassName: Properties
Description: 读取或者写入properties文件的工具类
Version: Ver 1.0.0
Properties() - 类 的构造器me.wuwenbin.lang.config.properties.Properties
 
properties - 类 中的静态变量me.wuwenbin.lang.entrance.$
读取或者写入properties文件的工具类

R

Random - me.wuwenbin.lang.common中的类
随机工具类
Random() - 类 的构造器me.wuwenbin.lang.common.Random
 
random - 类 中的静态变量me.wuwenbin.lang.entrance.$
随机工具类
randomBytes(int) - 类 中的方法me.wuwenbin.lang.common.Random
随机bytes
randomEle(List<T>) - 类 中的方法me.wuwenbin.lang.common.Random
随机获得列表中的元素
randomEle(List<T>, int) - 类 中的方法me.wuwenbin.lang.common.Random
随机获得列表中的元素
randomEles(List<T>, int) - 类 中的方法me.wuwenbin.lang.common.Random
随机获得列表中的一定量元素
randomEleSet(Collection<T>, int) - 类 中的方法me.wuwenbin.lang.common.Random
随机获得列表中的一定量的不重复元素,返回Set
randomInt(int, int) - 类 中的方法me.wuwenbin.lang.common.Random
获得指定范围内的随机数
randomInt() - 类 中的方法me.wuwenbin.lang.common.Random
获得随机数
randomInt(int) - 类 中的方法me.wuwenbin.lang.common.Random
获得指定范围内的随机数 [0,limit)
randomNumbers(int) - 类 中的方法me.wuwenbin.lang.common.Random
获得一个只包含数字的字符串
randomString(int) - 类 中的方法me.wuwenbin.lang.common.Random
获得一个随机的字符串(只包含数字和字符)
randomString(String, int) - 类 中的方法me.wuwenbin.lang.common.Random
获得一个随机的字符串
randomUUID() - 类 中的方法me.wuwenbin.lang.common.Random
 
ransack(Element, List<Element>) - 类 中的方法me.wuwenbin.lang.config.xml.XmlDom4j
 
readXML(File) - 类 中的方法me.wuwenbin.lang.config.xml.XmlW3c
读取解析XML文件
readXML(String) - 类 中的方法me.wuwenbin.lang.config.xml.XmlW3c
读取解析XML文件
REG_ALNUM - 类 中的静态变量me.wuwenbin.lang.common.Regex
Alphanumeric characters
REG_ALPHA - 类 中的静态变量me.wuwenbin.lang.common.Regex
Alphabetic characters
REG_ASCII - 类 中的静态变量me.wuwenbin.lang.common.Regex
ASCII characters
REG_BLANK - 类 中的静态变量me.wuwenbin.lang.common.Regex
Space and tab
REG_CNTRL - 类 中的静态变量me.wuwenbin.lang.common.Regex
Control characters
REG_DIGITS - 类 中的静态变量me.wuwenbin.lang.common.Regex
Digits
REG_EMAIL - 类 中的静态变量me.wuwenbin.lang.common.Regex
Email
REG_FIXED_TELEPHONE - 类 中的静态变量me.wuwenbin.lang.common.Regex
国内固定电话
REG_GRAPH - 类 中的静态变量me.wuwenbin.lang.common.Regex
SVisible characters (i.e. anything except spaces, control characters, etc.)
REG_HTML - 类 中的静态变量me.wuwenbin.lang.common.Regex
HTML
REG_IDENTIFICATION_CARD - 类 中的静态变量me.wuwenbin.lang.common.Regex
身份证编码
REG_IP - 类 中的静态变量me.wuwenbin.lang.common.Regex
i地址
REG_LEGAL_ACCOUNT - 类 中的静态变量me.wuwenbin.lang.common.Regex
合法的名字(字母开头,允许5-16字节,允许字母数字下划线)
REG_LOWER - 类 中的静态变量me.wuwenbin.lang.common.Regex
Lowercase letters
REG_MOBILE_TELEPHONE - 类 中的静态变量me.wuwenbin.lang.common.Regex
移动电话
REG_POSTALCODE - 类 中的静态变量me.wuwenbin.lang.common.Regex
邮政编码
REG_PRINT - 类 中的静态变量me.wuwenbin.lang.common.Regex
Visible characters and spaces (i.e. anything except control characters, etc.)
REG_PUNCT - 类 中的静态变量me.wuwenbin.lang.common.Regex
Punctuation and symbols.
REG_SPACE - 类 中的静态变量me.wuwenbin.lang.common.Regex
All whitespace characters, including line breaks
REG_SPACE_LINE - 类 中的静态变量me.wuwenbin.lang.common.Regex
空白行
REG_SPACE_POINT - 类 中的静态变量me.wuwenbin.lang.common.Regex
首尾空白字符
REG_UPPER - 类 中的静态变量me.wuwenbin.lang.common.Regex
Uppercase letters
REG_URL - 类 中的静态变量me.wuwenbin.lang.common.Regex
URL地址
REG_XDIGIT - 类 中的静态变量me.wuwenbin.lang.common.Regex
Hexadecimal digits
Regex - me.wuwenbin.lang.common中的类
ClassName: BnRegexUtils
Description: 封装一些正则相关的操作,使用的时候使用就可以了
Version: Ver 1.0
author: Wuwenbin
date: 2016年8月31日
time: 下午2:15:39
Regex() - 类 的构造器me.wuwenbin.lang.common.Regex
 
regex - 类 中的静态变量me.wuwenbin.lang.entrance.$
正则相关操作
removeAll(String, CharSequence) - 类 中的方法me.wuwenbin.lang.common.StringHelper
移除字符串中所有给定字符串
例:removeAll("aa-bb-cc-dd", "-") -> aabbccdd
removePreAndLowerFirst(String, int) - 类 中的方法me.wuwenbin.lang.common.StringHelper
去掉首部指定长度的字符串并将剩余字符串首字母小写
例如:str=setName, preLength=3 -> return name
removePreAndLowerFirst(String, String) - 类 中的方法me.wuwenbin.lang.common.StringHelper
去掉首部指定长度的字符串并将剩余字符串首字母小写
例如:str=setName, prefix=set -> return name
removePrefix(String, String) - 类 中的方法me.wuwenbin.lang.common.StringHelper
去掉指定前缀
removePrefixIgnoreCase(String, String) - 类 中的方法me.wuwenbin.lang.common.StringHelper
忽略大小写去掉指定前缀
removeSufAndLowerFirst(String, String) - 类 中的方法me.wuwenbin.lang.common.StringHelper
去掉指定后缀,并小写首字母
removeSuffix(String, String) - 类 中的方法me.wuwenbin.lang.common.StringHelper
去掉指定后缀
removeSuffixIgnoreCase(String, String) - 类 中的方法me.wuwenbin.lang.common.StringHelper
忽略大小写去掉指定后缀
renameDir(String, String) - 类 中的方法me.wuwenbin.lang.file.Files
文件重命名
repeat(char, int) - 类 中的方法me.wuwenbin.lang.common.StringHelper
重复某个字符
repeat(String, int) - 类 中的方法me.wuwenbin.lang.common.StringHelper
重复某个字符串
replaceHtmlTag(String, String, String, String, String) - 类 中的方法me.wuwenbin.lang.common.HtmlTag
替换指定的标签
RequestWeb - me.wuwenbin.lang.common中的类
一般Controller层或者需要对WEB操作的工具方法 Created by wuwenbin on 2017/5/11.
RequestWeb() - 类 的构造器me.wuwenbin.lang.common.RequestWeb
 
requestWeb - 类 中的静态变量me.wuwenbin.lang.entrance.$
一般Controller层或者需要对WEB操作的工具方法

S

scale(File, File, int, boolean) - 类 中的方法me.wuwenbin.lang.common.Image
缩放图像(按比例缩放)
scale(File, File, int, int, Color) - 类 中的方法me.wuwenbin.lang.common.Image
缩放图像(按高度和宽度缩放)
scan(String, Set<Class<? extends Annotation>>, Set<String>) - 类 中的方法me.wuwenbin.lang.common.ClassScan
扫描获取指定包下符合条件的class类
SLASH - 类 中的静态变量me.wuwenbin.lang.common.StringHelper
 
SPACE - 类 中的静态变量me.wuwenbin.lang.common.StringHelper
 
split(String, char) - 类 中的方法me.wuwenbin.lang.common.StringHelper
切分字符串
a#b#c -> [a,b,c]
a##b#c -> [a,"",b,c]
split(String, char, int) - 类 中的方法me.wuwenbin.lang.common.StringHelper
切分字符串
split(String, String) - 类 中的方法me.wuwenbin.lang.common.StringHelper
切分字符串
from jodd
split(String, int) - 类 中的方法me.wuwenbin.lang.common.StringHelper
根据给定长度,将给定字符串截取为多个部分
splitToArray(String, char) - 类 中的方法me.wuwenbin.lang.common.StringHelper
切分字符串
splitToArray(String, char, int) - 类 中的方法me.wuwenbin.lang.common.StringHelper
切分字符串
startWith(String, String, boolean) - 类 中的方法me.wuwenbin.lang.common.StringHelper
是否以指定字符串开头
startWithIgnoreCase(String, String) - 类 中的方法me.wuwenbin.lang.common.StringHelper
是否以指定字符串开头,忽略大小写
str(Object, String) - 类 中的方法me.wuwenbin.lang.common.StringHelper
将对象转为字符串
1、Byte数组和ByteBuffer会被转换为对应字符串的数组 2、对象数组会调用Arrays.toString方法
str(Object, Charset) - 类 中的方法me.wuwenbin.lang.common.StringHelper
将对象转为字符串
1、Byte数组和ByteBuffer会被转换为对应字符串的数组 2、对象数组会调用Arrays.toString方法
str(byte[], String) - 类 中的方法me.wuwenbin.lang.common.StringHelper
将byte数组转为字符串
str(byte[], Charset) - 类 中的方法me.wuwenbin.lang.common.StringHelper
解码字节码
str(Byte[], String) - 类 中的方法me.wuwenbin.lang.common.StringHelper
将Byte数组转为字符串
str(Byte[], Charset) - 类 中的方法me.wuwenbin.lang.common.StringHelper
解码字节码
str(ByteBuffer, String) - 类 中的方法me.wuwenbin.lang.common.StringHelper
将编码的byteBuffer数据转换为字符串
str(ByteBuffer, Charset) - 类 中的方法me.wuwenbin.lang.common.StringHelper
将编码的byteBuffer数据转换为字符串
string2Date(String, String) - 类 中的方法me.wuwenbin.lang.common.WebDate
 
string2Timestamp(String, String) - 类 中的方法me.wuwenbin.lang.common.WebDate
 
StringHelper - me.wuwenbin.lang.common中的类
字符串工具类,hutool来源 剔除其他关联类,使得此类尽量可以单独使用,不受其他类限制 剔除了某些不常用的方法,挪移某些方法至更恰当的类中,更易辨析作用 修改以适应template-xxx系列项目规范
StringHelper() - 类 的构造器me.wuwenbin.lang.common.StringHelper
 
stringhelper - 类 中的静态变量me.wuwenbin.lang.entrance.$
字符串工具类
stringToDay(String) - 类 中的方法me.wuwenbin.lang.common.WebDate
 
stringToMonth(String) - 类 中的方法me.wuwenbin.lang.common.WebDate
 
stringToYear(String) - 类 中的方法me.wuwenbin.lang.common.WebDate
 
stripSqlInjection(String) - 类 中的方法me.wuwenbin.lang.common.WebFireWall
 
stripSqlXSS(String) - 类 中的方法me.wuwenbin.lang.common.WebFireWall
 
stripXSS(String) - 类 中的方法me.wuwenbin.lang.common.WebFireWall
 
sub(String, int, int) - 类 中的方法me.wuwenbin.lang.common.StringHelper
改进JDK subString
index从0开始计算,最后一个字符为-1
如果from和to位置一样,返回 ""
如果from或to为负数,则按照length从后向前数位置,如果绝对值大于字符串长度,则from归到0,to归到length
如果经过修正的index中from大于to,则互换from和to example:
abcdefgh 2 3 -> c
abcdefgh 2 -3 -> cde
subPre(String, int) - 类 中的方法me.wuwenbin.lang.common.StringHelper
切割前部分
subSuf(String, int) - 类 中的方法me.wuwenbin.lang.common.StringHelper
切割后部分

T

TAB - 类 中的静态变量me.wuwenbin.lang.common.StringHelper
 
timestamp2String(Timestamp, String) - 类 中的方法me.wuwenbin.lang.common.WebDate
 
toCamelCase(String) - 类 中的方法me.wuwenbin.lang.common.StringHelper
将下划线方式命名的字符串转换为驼峰式。
toUnderlineCase(String) - 类 中的方法me.wuwenbin.lang.common.StringHelper
将驼峰式命名的字符串转换为下划线方式。
transElements(NodeList) - 类 中的方法me.wuwenbin.lang.config.xml.XmlW3c
将NodeList转换为Element列表
transElements(Element, NodeList) - 类 中的方法me.wuwenbin.lang.config.xml.XmlW3c
将NodeList转换为Element列表
trim(String) - 类 中的方法me.wuwenbin.lang.common.StringHelper
除去字符串头尾部的空白,如果字符串是null,依然返回null
trim(String[]) - 类 中的方法me.wuwenbin.lang.common.StringHelper
给定字符串数组全部做去首尾空格
trim(String, int) - 类 中的方法me.wuwenbin.lang.common.StringHelper
除去字符串头尾部的空白符,如果字符串是null,依然返回null
trimEnd(String) - 类 中的方法me.wuwenbin.lang.common.StringHelper
除去字符串尾部的空白,如果字符串是null,则返回null
trimStart(String) - 类 中的方法me.wuwenbin.lang.common.StringHelper
除去字符串头部的空白,如果字符串是null,则返回null

U

UNDERLINE - 类 中的静态变量me.wuwenbin.lang.common.StringHelper
 
upperFirstLetter(String) - 类 中的方法me.wuwenbin.lang.common.StringHelper
大写首字母
例如:str = name, return Name
upperFirstLetterAndAddPre(String, String) - 类 中的方法me.wuwenbin.lang.common.StringHelper
原字符串首字母大写并在其首部添加指定字符串 例如:str=name, preString=get -> return getName
Url - me.wuwenbin.lang.common中的类
url解码/编码 Created by wuwenbin on 2017/2/15.
Url() - 类 的构造器me.wuwenbin.lang.common.Url
 
url - 类 中的静态变量me.wuwenbin.lang.entrance.$
url解码/编码
urlDecode(String) - 类 中的方法me.wuwenbin.lang.common.Url
url解码,UTF-8
urlDecode(String, String) - 类 中的方法me.wuwenbin.lang.common.Url
URL解码
urlEncode(String) - 类 中的方法me.wuwenbin.lang.common.Url
URL编码,UTF-8模式
urlEncode(String, String) - 类 中的方法me.wuwenbin.lang.common.Url
URL编码
utf8Bytes(String) - 类 中的方法me.wuwenbin.lang.common.StringHelper
编码字符串,编码为UTF-8
utf8Str(Object) - 类 中的方法me.wuwenbin.lang.common.StringHelper
将对象转为字符串
1、Byte数组和ByteBuffer会被转换为对应字符串的数组 2、对象数组会调用Arrays.toString方法

V

Validate - me.wuwenbin.lang.common中的类
ClassName: Validate
Description: 判断对象、字符串、集合是否为空、不为空
Version: Ver 1.0
author: Wuwenbin
date: 2016年8月31日
time: 下午2:08:22
Validate() - 类 的构造器me.wuwenbin.lang.common.Validate
 
validate - 类 中的静态变量me.wuwenbin.lang.entrance.$
判断对象、字符串、集合是否为空、不为空
validateSingle(Element) - 类 中的方法me.wuwenbin.lang.config.xml.XmlDom4j
 
valueOf(String) - 枚举 中的静态方法me.wuwenbin.lang.config.xml.XmlDom4j.Flag
返回带有指定名称的该类型的枚举常量。
values() - 枚举 中的静态方法me.wuwenbin.lang.config.xml.XmlDom4j.Flag
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。

W

w3cXml - 类 中的静态变量me.wuwenbin.lang.entrance.$
w3c方式处理xml
WebDate - me.wuwenbin.lang.common中的类
 
WebDate() - 类 的构造器me.wuwenbin.lang.common.WebDate
 
webDate - 类 中的静态变量me.wuwenbin.lang.entrance.$
有关web或Controller层获取到的相关日期的操作
WebFireWall - me.wuwenbin.lang.common中的类
Web防火墙工具类
WebFireWall() - 类 的构造器me.wuwenbin.lang.common.WebFireWall
 
webFireWall - 类 中的静态变量me.wuwenbin.lang.entrance.$
Web防火墙工具类
wrap(String, String, String) - 类 中的方法me.wuwenbin.lang.common.Placeholder
包装指定字符串

X

XmlDom4j - me.wuwenbin.lang.config.xml中的类
解析xml,使用方法参考dom4j的使用
XmlDom4j() - 类 的构造器me.wuwenbin.lang.config.xml.XmlDom4j
 
XmlDom4j.Flag - me.wuwenbin.lang.config.xml中的枚举
 
XmlW3c - me.wuwenbin.lang.config.xml中的类
XML工具类
此工具使用w3c dom工具,不需要依赖第三方包。
XmlW3c() - 类 的构造器me.wuwenbin.lang.config.xml.XmlW3c
 

Z

Zip - me.wuwenbin.lang.common中的类
文件压缩、解压工具类。
Zip() - 类 的构造器me.wuwenbin.lang.common.Zip
 
zip - 类 中的静态变量me.wuwenbin.lang.entrance.$
文件压缩、解压工具类。
zipFile(String, String) - 类 中的方法me.wuwenbin.lang.common.Zip
压缩文件
$ A B C D E F G H I L M N P R S T U V W X Z 

Copyright © 2017. All rights reserved.