File tree Expand file tree Collapse file tree
main/java/com/blankj/utilcode/util
test/java/com/blankj/utilcode/util Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Android开发人员不得不收集的代码([ 持续更新中] [ update_log.md ] )
22
3- [ ![ auc] [ aucsvg ]] [ auc ] [ ![ build ] [ buildsvg ]] [ build ] [ ![ api] [ apisvg ]] [ api ] [ ![ License] [ licensesvg ]] [ license ]
3+ [ ![ auc] [ aucsvg ]] [ auc ] [ ![ api] [ apisvg ]] [ api ] [ ![ License] [ licensesvg ]] [ license ]
44
55## [ README of English] [ readme.md ]
66
@@ -640,9 +640,6 @@ Utils.init(context);
640640[ aucsvg ] : https://img.shields.io/badge/AndroidUtilCode-v1.4.1-blue.svg
641641[ auc ] : https://github.com/Blankj/AndroidUtilCode
642642
643- [ buildsvg ] : https://travis-ci.org/Blankj/AndroidUtilCode.svg?branch=master
644- [ build ] : https://travis-ci.org/Blankj/AndroidUtilCode
645-
646643[ apisvg ] : https://img.shields.io/badge/API-15+-blue.svg
647644[ api ] : https://android-arsenal.com/api?level=15
648645
Original file line number Diff line number Diff line change 1414# class:
1515#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
1616# public *;
17- #}
17+ #}
18+
Original file line number Diff line number Diff line change @@ -1087,7 +1087,7 @@ public static String getFileSize(File file) {
10871087 * 获取目录长度
10881088 *
10891089 * @param dirPath 目录路径
1090- * @return 文件大小
1090+ * @return 目录长度
10911091 */
10921092 public static long getDirLength (String dirPath ) {
10931093 return getDirLength (getFileByPath (dirPath ));
@@ -1097,7 +1097,7 @@ public static long getDirLength(String dirPath) {
10971097 * 获取目录长度
10981098 *
10991099 * @param dir 目录
1100- * @return 文件大小
1100+ * @return 目录长度
11011101 */
11021102 public static long getDirLength (File dir ) {
11031103 if (!isDir (dir )) return -1 ;
@@ -1119,7 +1119,7 @@ public static long getDirLength(File dir) {
11191119 * 获取文件长度
11201120 *
11211121 * @param filePath 文件路径
1122- * @return 文件大小
1122+ * @return 文件长度
11231123 */
11241124 public static long getFileLength (String filePath ) {
11251125 return getFileLength (getFileByPath (filePath ));
@@ -1129,7 +1129,7 @@ public static long getFileLength(String filePath) {
11291129 * 获取文件长度
11301130 *
11311131 * @param file 文件
1132- * @return 文件大小
1132+ * @return 文件长度
11331133 */
11341134 public static long getFileLength (File file ) {
11351135 if (!isFile (file )) return -1 ;
You can’t perform that action at this time.
0 commit comments