From 85569d207d0890a00feca5578225574accdc7e4f Mon Sep 17 00:00:00 2001 From: Yi Li Date: Fri, 16 Feb 2018 20:00:11 +0800 Subject: [PATCH] Update README.md --- README.md | 158 +++++++++++++++++++++++++++++++++++------------------- 1 file changed, 102 insertions(+), 56 deletions(-) diff --git a/README.md b/README.md index f683c04..febbccd 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ # SUtils ![jcentersvg] ![releasesvg] ![apisvg] [![license][licensesvg]][license] + ## 关于 SUtils是一款轻量级Android工具类库,集成了众多平时开发中常用到的工具类,将一直持续更新! - ## 添加依赖 ```Java dependencies { @@ -12,6 +12,52 @@ SUtils是一款轻量级Android工具类库,集成了众多平时开发中常 } ``` +## 目录 +| 文件名 | 描述 | +| ---- | ---- | +| **加密相关** | +| [AesUtil][AesUtil] | aes加密 | +| [Base64Util][Base64Util] | base64加密 | +| [Md5Util][Md5Util] | md5加密 | +| [RsaUtil][RsaUtil] | rsa加密 | +| [XorUtil][XorUtil] | 异或加密 | +| **图形处理相关** | +| [FastBlur][FastBlur] | fastblur高斯模糊算法 | +| [RSBlur][RSBlur] | RenderScript模高斯糊 | +| [ImageUtil][ImageUtil] | 图片相关工具类 | +| [ShapeUtil][ShapeUtil] | shape相关工具类 | +| **io相关** | +| [ACache][ACache] | 轻量级缓存工具类 | +| [AssetUtil][AssetUtil] | assets相关工具类 | +| [FileUtil][FileUtil] | file相关工具类 | +| [GsonUtil][GsonUtil] | gson相关工具类 | +| [SPUtil][SPUtil] | sharedpreferences相关类 | +| **log相关** | +| [CrashUtil][CrashUtil] | 崩溃处理相关工具类 | +| [LogUtil][LogUtil] | log相关工具类 | +| **权限相关** | +| [PermissionUtil][PermissionUtil] | 权限相关工具类 | +| **时间相关** | +| [CountdownUtil][CountdownUtil] | 倒计时相关工具类 | +| [TimeUtil][TimeUtil] | 时间相关工具类 | +| **其他** | +| [AlertDialogUtil][AlertDialogUtil] | 系统弹框相关工具类 | +| [AppUtil][AppUtil] | app相关工具类 | +| [AtyTransitionUtil][AtyTransitionUtil] | activity转场动画 | +| [CleanUtil][CleanUtil] | 清除相关工具类 | +| [ClipboardUtil][ClipboardUtil] | 剪切板相关工具类 | +| [DensityUtil][DensityUtil] | 单位转换工具类 | +| [DeviceUtil][DeviceUtil] | 设备相关工具类 | +| [EmptyUtil][EmptyUtil] | 判空相关工具类 | +| [EventBusUtil][EventBusUtil] | EventBus 3.0 工具类 | +| [HandlerUtil][HandlerUtil] | handler相关工具类 | +| [KeyboardUtil][KeyboardUtil] | 键盘相关工具类 | +| [LocationUtil][LocationUtil] | 位置相关工具类 | +| [NetUtil][NetUtil] | 网络相关工具类 | +| [NfcUtil][NfcUtil] | NFC 相关的工具类 | +| [OrientationUtil][OrientationUtil] | 屏幕方向监听工具类 | +| [PhoneUtil][PhoneUtil] | 手机相关工具类 | + ## 项目内容(源码中附有详细注释,因时间关系,下列目录内容还未及时更新,请直接至项目中查看最新目录) ### 目录 #### APP相关 @@ -962,60 +1008,60 @@ limitations under the License. [license]:http://www.apache.org/licenses/LICENSE-2.0 [statussvg]:https://img.shields.io/librariesio/github/phoenixframework/phoenix.svg -[AesUtil]:[https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/encrypt/AesUtil.java] -[Base64Util]:[https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/encrypt/Base64Util.java] -[Md5Util]:[https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/encrypt/Md5Util.java] -[RsaUtil]:[https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/encrypt/RsaUtil.java] -[XorUtil]:[https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/encrypt/XorUtil.java] - -[FastBlur]:[https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/graphic/blur/FastBlur.java] -[RSBlur]:[https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/graphic/blur/RSBlur.java] -[ImageUtil]:[https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/graphic/ImageUtil.java] -[ShapeUtil]:[https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/graphic/ShapeUtil.java] - -[ACache]:[https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/io/ACache.java] -[AssetUtil]:[https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/io/AssetUtil.java] -[FileUtil]:[https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/io/FileUtil.java] -[GsonUtil]:[https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/io/GsonUtil.java] -[SPUtil]:[https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/io/SPUtil.java] - -[CrashUtil]:[https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/log/CrashUtil.java] -[LogUtil]:[https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/log/LogUtil.java] - -[PermissionUtil]:[https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/permission/PermissionUtil.java] - -[CountdownUtil]:[https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/time/CountdownUtil.java] -[TimeUtil]:[https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/time/TimeUtil.java] - -[AlertDialogUtil]:[https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/AlertDialogUtil.java] -[AppUtil]:[https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/AppUtil.java] -[AtyTransitionUtil]:[https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/AtyTransitionUtil.java] -[CleanUtil]:[https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/CleanUtil.java] -[ClipboardUtil]:[https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/ClipboardUtil.java] -[DensityUtil]:[https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/DensityUtil.java] -[EmptyUtil]:[https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/EmptyUtil.java] -[EventBusUtil]:[https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/EventBusUtil.java] -[HandlerUtil]:[https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/HandlerUtil.java] -[KeyboardUtil]:[https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/KeyboardUtil.java] -[LocationUtil]:[https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/LocationUtil.java] -[NetUtil]:[https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/NetUtil.java] -[NfcUtil]:[https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/NfcUtil.java] -[OrientationUtil]:[https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/OrientationUtil.java] -[PhoneUtil]:[https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/PhoneUtil.java] -[PinyinUtil]:[https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/PinyinUtil.java] -[QRCodeUtil]:[https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/QRCodeUtil.java] -[ReflectUtil]:[https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/ReflectUtil.java] -[RegexUtil]:[https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/RegexUtil.java] -[ScreenUtil]:[https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/ScreenUtil.java] -[ServiceUtil]:[https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/ServiceUtil.java] -[ShellUtil]:[https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/ShellUtil.java] -[ScreenUtil]:[https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/ScreenUtil.java] -[SpanUtil]:[https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/SpanUtil.java] -[StringUtil]:[https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/StringUtil.java] -[SystemBarUtil]:[https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/SystemBarUtil.java] -[SystemSettingUtil]:[https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/SystemSettingUtil.java] -[StringUtil]:[https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/StringUtil.java] -[ToastUtil]:[https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/ToastUtil.java] -[ZipUtil]:[https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/ZipUtil.java] +[AesUtil]:https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/encrypt/AesUtil.java +[Base64Util]:https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/encrypt/Base64Util.java +[Md5Util]:https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/encrypt/Md5Util.java +[RsaUtil]:https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/encrypt/RsaUtil.java +[XorUtil]:https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/encrypt/XorUtil.java + +[FastBlur]:https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/graphic/blur/FastBlur.java +[RSBlur]:https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/graphic/blur/RSBlur.java +[ImageUtil]:https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/graphic/ImageUtil.java +[ShapeUtil]:https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/graphic/ShapeUtil.java + +[ACache]:https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/io/ACache.java +[AssetUtil]:https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/io/AssetUtil.java +[FileUtil]:https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/io/FileUtil.java +[GsonUtil]:https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/io/GsonUtil.java +[SPUtil]:https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/io/SPUtil.java + +[CrashUtil]:https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/log/CrashUtil.java +[LogUtil]:https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/log/LogUtil.java + +[PermissionUtil]:https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/permission/PermissionUtil.java + +[CountdownUtil]:https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/time/CountdownUtil.java +[TimeUtil]:https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/time/TimeUtil.java + +[AlertDialogUtil]:https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/AlertDialogUtil.java +[AppUtil]:https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/AppUtil.java +[AtyTransitionUtil]:https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/AtyTransitionUtil.java +[CleanUtil]:https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/CleanUtil.java +[ClipboardUtil]:https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/ClipboardUtil.java +[DensityUtil]:https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/DensityUtil.java +[EmptyUtil]:https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/EmptyUtil.java +[EventBusUtil]:https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/EventBusUtil.java +[HandlerUtil]:https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/HandlerUtil.java +[KeyboardUtil]:https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/KeyboardUtil.java +[LocationUtil]:https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/LocationUtil.java +[NetUtil]:https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/NetUtil.java +[NfcUtil]:https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/NfcUtil.java +[OrientationUtil]:https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/OrientationUtil.java +[PhoneUtil]:https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/PhoneUtil.java +[PinyinUtil]:https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/PinyinUtil.java +[QRCodeUtil]:https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/QRCodeUtil.java +[ReflectUtil]:https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/ReflectUtil.java +[RegexUtil]:https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/RegexUtil.java +[ScreenUtil]:https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/ScreenUtil.java +[ServiceUtil]:https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/ServiceUtil.java +[ShellUtil]:https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/ShellUtil.java +[ScreenUtil]:https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/ScreenUtil.java +[SpanUtil]:https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/SpanUtil.java +[StringUtil]:https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/StringUtil.java +[SystemBarUtil]:https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/SystemBarUtil.java +[SystemSettingUtil]:https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/SystemSettingUtil.java +[StringUtil]:https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/StringUtil.java +[ToastUtil]:https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/ToastUtil.java +[ZipUtil]:https://github.com/albert-lii/SUtils/blob/master/sutils/src/main/java/com/liyi/sutils/utils/ZipUtil.java