您的浏览器已禁用 JavaScript。
跳过导航链接
概览
程序包
类
使用
树
已过时
索引
帮助
上一个
下一个
框架
无框架
所有类
A
B
C
D
E
F
G
I
J
L
M
N
O
P
R
S
T
V
A
AachenGenerator
-
com.gitee.aachen0.util.mybatis
中的类
逆向工程工具类,进行了适度封装,根据指定的generator配置文件一键生成实体类,接口类,sql映射文件,同时在控制台输出生成过程信息
AachenGenerator()
- 类 的构造器com.gitee.aachen0.util.mybatis.
AachenGenerator
alignCenter(Component)
- 类 中的静态方法com.gitee.aachen0.util.
SwingUtils
将一个JFrame控件的位置在屏幕水平垂直居中
B
batAdd(Window, Component...)
- 类 中的静态方法com.gitee.aachen0.util.
SwingUtils
批量将组件添加到窗体容器
batResize(int, int, Component...)
- 类 中的静态方法com.gitee.aachen0.util.
SwingUtils
批量设置组件大小
bigDecimalListToString(List<BigDecimal>)
- 类 中的静态方法com.gitee.aachen0.util.
CommonUtils
Echarts中展示小数数值,需要将BigDecimal转换成小数点字符串数组,这里采用商业四舍五入的方法,精确到小数点后2位有效数 将一个BigDecimal集合安全转换为String数组,如果集合为空,返回一个空的字符串数组,如果BigDecimal为null,转换为字符串"0.0"
BYTE
- 类 中的静态变量com.gitee.aachen0.util.
CommonUtils
C
castNumberList(List<? extends Number>)
- 类 中的静态方法com.gitee.aachen0.util.
CommonUtils
整数元素的集合强转元素数据类型,未做检查,可能会产生数据溢出
com.gitee.aachen0.util
- 程序包 com.gitee.aachen0.util
com.gitee.aachen0.util.mybatis
- 程序包 com.gitee.aachen0.util.mybatis
CommonUtils
-
com.gitee.aachen0.util
中的类
CommonUtils()
- 类 的构造器com.gitee.aachen0.util.
CommonUtils
D
deleteDir(File)
- 类 中的静态方法com.gitee.aachen0.util.
CommonUtils
删除指定的文件夹及文件夹下所有文件
E
extractFieldList(Collection, String)
- 类 中的静态方法com.gitee.aachen0.util.
CommonUtils
从一个pojo对象集合中抽取对象的指定属性,放入一个新List中并返回
extractValueList(Collection, String)
- 类 中的静态方法com.gitee.aachen0.util.
CommonUtils
从一个pojo对象集合中抽取对象的指定属性,放入一个新List中并返回
F
fieldToGetter(String)
- 类 中的静态方法com.gitee.aachen0.util.
StringUtils
根据字段名生成getter方法名
fieldToSetter(String)
- 类 中的静态方法com.gitee.aachen0.util.
StringUtils
根据字段名生成setter方法名
formatBytes(Long)
- 类 中的静态方法com.gitee.aachen0.util.
MathUtils
将一个表示字节个数的整数自适应单位格式化输出,保留两位小数
G
generate(File, boolean, boolean)
- 类 中的方法com.gitee.aachen0.util.mybatis.
AachenGenerator
Mybatis根据配置文件configFile逆向工程生成实体类,mapper.xml和mapper.java接口文件,
getCollectionString(Collection)
- 类 中的静态方法com.gitee.aachen0.util.
CommonUtils
将一个集合的元素toString的结果用","连接成一个字符串后返回
getConnection(String)
- 类 中的静态方法com.gitee.aachen0.util.
JdbcUtils
根据属性文件的配置建立一个jdbc连接
getDynamicSalt(Date)
- 类 中的静态方法com.gitee.aachen0.util.
CommonUtils
根据当前时间按一定规则生成动态盐值,每小时一变化,作为md5加密的盐值,生成动态的加密口令 要求整点前后5分钟(含),生成的盐值和最接近的整点生成的盐值相同相同
getDynamicSalt(Date, int)
- 类 中的静态方法com.gitee.aachen0.util.
CommonUtils
根据当前时间按一定规则生成动态盐值,每小时一变化,作为md5加密的盐值,生成动态的加密口令 要求整点前后toleranceMinute分钟(含),生成的盐值和最接近的整点生成的盐值相同相同
getExtension(String)
- 类 中的静态方法com.gitee.aachen0.util.
StringUtils
从一个文件路径获取文件的扩展名
getIndent()
- 类 中的方法com.gitee.aachen0.util.
Phone
getList(InputStreamReader)
- 类 中的静态方法com.gitee.aachen0.util.
PropertyUtils
从一个properties文件的输入流获取一个包含键值对的List集合
因为原生的properties提供的是set,如果需要按原始顺序排列的键值对集合,就用这个方法
getMap(String)
- 类 中的静态方法com.gitee.aachen0.util.
PropertyUtils
从一个properties文件中获取一个Map集合
getModel()
- 类 中的方法com.gitee.aachen0.util.
Phone
getOwnerName()
- 类 中的方法com.gitee.aachen0.util.
Phone
getOwnerNumber()
- 类 中的方法com.gitee.aachen0.util.
Phone
getRandomAscii(int, int)
- 类 中的静态方法com.gitee.aachen0.util.
StringUtils
获取指定范围随机长度的标识符
getRandomName(boolean)
- 类 中的静态方法com.gitee.aachen0.util.
StringUtils
生成随机的中文名字
getRandomPhone()
- 类 中的静态方法com.gitee.aachen0.util.
StringUtils
生成随机电话号码
getUuid()
- 类 中的静态方法com.gitee.aachen0.util.
CommonUtils
返回一个32位唯一字符串,如:2f069aa2-784e-455c-801d-3346b400b3a7
getWidth()
- 类 中的方法com.gitee.aachen0.util.
Phone
I
input(String)
- 类 中的静态方法com.gitee.aachen0.util.
InputUtils
从键盘输入读取一个String类型数据
inputChar(String)
- 类 中的静态方法com.gitee.aachen0.util.
InputUtils
从键盘输入的一串数据中读取开头的一个char
inputDouble(String)
- 类 中的静态方法com.gitee.aachen0.util.
InputUtils
从键盘输入读取一个double类型数据,读取失败返回值为-1.0
inputDoubles(String)
- 类 中的静态方法com.gitee.aachen0.util.
InputUtils
从键盘接收一组小数,以double数组的形式返回
inputInt(String)
- 类 中的静态方法com.gitee.aachen0.util.
InputUtils
从键盘输入读取一个int类型数据
inputInts(String)
- 类 中的静态方法com.gitee.aachen0.util.
InputUtils
从键盘接收一组整数,以数组的形式返回
inputLine(String)
- 类 中的静态方法com.gitee.aachen0.util.
InputUtils
从键盘读取一整行
inputLong(String)
- 类 中的静态方法com.gitee.aachen0.util.
InputUtils
从键盘输入读取一个long类型数据
InputUtils
-
com.gitee.aachen0.util
中的类
time created:2018/6/26 14:01
这是一个自写的工具,简化了初学java者从键盘接收输入的过程;
使用说明:
将Inputs.class文件放置在项目工作目录下,在自己的代码中可以直接通过类名调用该工具类中的方法,比如:
int x = InputUtils.inputInt("请输入整数x:");
可以从键盘接收一个int类型的整数,而后赋值给变量x;
InputUtils()
- 类 的构造器com.gitee.aachen0.util.
InputUtils
INTEGER
- 类 中的静态变量com.gitee.aachen0.util.
CommonUtils
isEmpty(Object)
- 类 中的静态方法com.gitee.aachen0.util.
CommonUtils
判断一个对象是否为null或者空串或者空集合
J
JdbcUtils
-
com.gitee.aachen0.util
中的类
JDBC常用工具
JdbcUtils()
- 类 的构造器com.gitee.aachen0.util.
JdbcUtils
L
LONG
- 类 中的静态变量com.gitee.aachen0.util.
CommonUtils
M
mapToProp(Map<String, String>, String, String)
- 类 中的静态方法com.gitee.aachen0.util.
PropertyUtils
将一个Map的数据持久化到properties文件内,Map内容请使用UTF-8编码方式
mapUpdateToProp(Map<String, String>, String, String)
- 类 中的静态方法com.gitee.aachen0.util.
PropertyUtils
将一个Map的数据添加到一个properties文件内,Map内容请使用UTF-8编码方式
MathUtils
-
com.gitee.aachen0.util
中的类
Math工具类的补充,提供了一些Math类没有的功能 createDate 2018/10/10
gitee source
MathUtils()
- 类 的构造器com.gitee.aachen0.util.
MathUtils
multipleChar(char, int)
- 类 中的静态方法com.gitee.aachen0.util.
StringUtils
获取指定个数重复字符的字符串
N
numberOfChar(CharSequence, char)
- 类 中的静态方法com.gitee.aachen0.util.
StringUtils
查找指定字符在字符串中出现的次数
O
objectToString(Object)
- 类 中的静态方法com.gitee.aachen0.util.
StringUtils
将一个没有重写toString方法的对象转换成toString形式的字符串
openFile(String, String...)
- 类 中的静态方法com.gitee.aachen0.util.
SwingUtils
以图形化的界面获取一个文件对象
OverIsMergeablePlugin
-
com.gitee.aachen0.util.mybatis
中的类
控制是否逆向工程是否覆盖旧xml的回调插件
OverIsMergeablePlugin()
- 类 的构造器com.gitee.aachen0.util.mybatis.
OverIsMergeablePlugin
P
parseIds(String, int)
- 类 中的静态方法com.gitee.aachen0.util.
CommonUtils
layui批量删除表格中的记录时,传回的id select值字符串,“1,2,3,44,22”,需要解析成一个指定数据类型的集合
parseIds(String)
- 类 中的静态方法com.gitee.aachen0.util.
CommonUtils
已过时。
Phone
-
com.gitee.aachen0.util
中的类
手机功能模拟,用于开发中的短信收发测试 createDate 2018/10/10
gitee source
Phone()
- 类 的构造器com.gitee.aachen0.util.
Phone
PropertyUtils
-
com.gitee.aachen0.util
中的类
属性文件properties和Map之间的相互转换 createDate 2018/10/10
gitee source
PropertyUtils()
- 类 的构造器com.gitee.aachen0.util.
PropertyUtils
R
rsToObject(ResultSet, Class)
- 类 中的静态方法com.gitee.aachen0.util.
JdbcUtils
将结果集转换成对应的实体类对象
S
setIndent(int)
- 类 中的方法com.gitee.aachen0.util.
Phone
setModel(String)
- 类 中的方法com.gitee.aachen0.util.
Phone
setOwnerName(String)
- 类 中的方法com.gitee.aachen0.util.
Phone
setOwnerNumber(String)
- 类 中的方法com.gitee.aachen0.util.
Phone
setWidth(int)
- 类 中的方法com.gitee.aachen0.util.
Phone
SHORT
- 类 中的静态变量com.gitee.aachen0.util.
CommonUtils
showMessage(String, String)
- 类 中的方法com.gitee.aachen0.util.
Phone
在控制台显示收到的信息
showMessage(int, int, String, String)
- 类 中的静态方法com.gitee.aachen0.util.
SwingUtils
弹窗显示某些信息
sqlMapGenerated(GeneratedXmlFile, IntrospectedTable)
- 类 中的方法com.gitee.aachen0.util.mybatis.
OverIsMergeablePlugin
StringUtils
-
com.gitee.aachen0.util
中的类
字符串操作工具类 createDate 2018/10/10
gitee source
StringUtils()
- 类 的构造器com.gitee.aachen0.util.
StringUtils
SwingUtils
-
com.gitee.aachen0.util
中的类
SwingUtils GUI编程工具类 createDate 2018/10/10
gitee source
SwingUtils()
- 类 的构造器com.gitee.aachen0.util.
SwingUtils
T
throwIfEmpty(Object, String)
- 类 中的静态方法com.gitee.aachen0.util.
CommonUtils
用来检验前端传递的参数是否为逻辑空,是则抛出参数异常
V
validate(List<String>)
- 类 中的方法com.gitee.aachen0.util.mybatis.
OverIsMergeablePlugin
A
B
C
D
E
F
G
I
J
L
M
N
O
P
R
S
T
V
跳过导航链接
概览
程序包
类
使用
树
已过时
索引
帮助
上一个
下一个
框架
无框架
所有类
Copyright © 2019. All Rights Reserved.