目前正在更新1.0.5.RELEASE,敬请期待
开发者工具类库——JavaLib
功能
JavaLib,是一个Java开发基础工具类库,对项目开发中常用的工具进行封装,如:加密、http请求、API接口。
目的是帮助开发者更快速、更快捷的开发。
无侵入性,轻量级,常用功能,无数次测试,不断完善
SSLClient SSL Client
ICallback 回调接口
IReturnCode 返回码接口
Result API返回封装
Base64 Base64
Constant 常量接口(值)
FileUtil 文件操作工具类
HexUtil 进制转换工具类
HttpsClientUtil Https 请求工具类
HttpUtil Http 请求工具类
MathUtil Math 工具类
RequestUtil Request 工具类
RSAUtil RSA 加密解密签名与验证工具类
SafeUtil 加密工具类
StringUtil 字符串工具类
TimeUtil 时间工具类
ToastUtil 打印工具类
Utils 常用工具类
消息引擎
aop模块
目录结构
JavaLib
├── src
│ ├── main
│ │ └── java
│ │ └──com
│ │ └── fengwenyi
│ │ └── javalib
│ │ ├── aop
│ │ │ └── LBaseWebLogAspect
│ │ ├── handler
│ │ │ ├── Handler // handler
│ │ │ └── HandlerRegister // handler注册
│ │ ├── https
│ │ │ └── SSLClient // SSL Client
│ │ ├── jk
│ │ │ └── ICallback // 回调接口
│ │ ├── messageengine
│ │ │ └── CommonMessage // 通用消息组件
│ │ ├── result
│ │ │ ├── DefaultResult
│ │ │ ├── DefaultReturnCode
│ │ │ ├── ResultResponseUtil
│ │ │ ├── IReturnCode // 返回码接口
│ │ │ └── Result // Result
│ │ └── util
│ │ ├── Base64 // Base64
│ │ ├── Constant // 常量接口(值)
│ │ ├── FileUtil // File 工具类
│ │ ├── HexUtil // Hex 工具类
│ │ ├── HttpsClientUtil // Https 请求工具类
│ │ ├── HttpUtil // Http 请求工具类
│ │ ├── MathUtil // Math 工具类
│ │ ├── RequestUtil // Request 工具类
│ │ ├── RSAUtil // RSA 加密解密签名与验证工具类
│ │ ├── SafeUtil // Safe 工具类
│ │ ├── StringUtil // String 工具类
│ │ ├── TimeUtil // Time 工具类
│ │ ├── ToastUtil // Time 工具类
│ │ └── Utils // 常用工具类
│ └── test
│ └── java
│ └──com
│ └── fengwenyi
│ └── test
│ ├── INetCallback // 继承 ICallback
│ ├── MyTest // Test
│ ├── ResultTest // Result
│ └── TestSign // Test RSA 签名与验证
└── pom.xml // Maven 配置
Module资料
GroupId
com.fengwenyi
ArtifactId
JavaLib
仓库
Blog
更新日志
2019年01月24日(V1.0.5.3.SNAPSHOT)
1、修复MD5加密问题。
加密不正确。
之前采用32位大写,现在采用32位小写。
另外,提供MD5加密解密功能。
2、进制转换问题
修复2进制转16进制不正确。
另外,提供16进制转2进制。
2019年01月22日(V1.0.5.2.1.SNAPSHOT)
去掉Http请求工具类,作者以后都用OkHttp了。
重写Result,更简洁、更方便、更优雅。
重新规划CodeMsg,采用class的方式。
JSON由Gson变为fastjson。
About Me
©author Wenyi Feng
Licensed
Copyright 2017-2018 Wenyi Feng(xfsy2014@gmail.com)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.