File tree Expand file tree Collapse file tree 5 files changed +281
-294
lines changed
main/java/com/blankj/utilcode/util
test/java/com/blankj/utilcode/util Expand file tree Collapse file tree 5 files changed +281
-294
lines changed Original file line number Diff line number Diff line change 1
1
# Android开发人员不得不收集的代码([ 持续更新中] [ update_log.md ] )
2
2
3
- [ ![ auc] [ aucsvg ]] [ auc ] [ ![ build ] [ buildsvg ]] [ build ] [ ![ api] [ apisvg ]] [ api ] [ ![ License] [ licensesvg ]] [ license ]
3
+ [ ![ auc] [ aucsvg ]] [ auc ] [ ![ api] [ apisvg ]] [ api ] [ ![ License] [ licensesvg ]] [ license ]
4
4
5
5
## [ README of English] [ readme.md ]
6
6
@@ -640,9 +640,6 @@ Utils.init(context);
640
640
[ aucsvg ] : https://img.shields.io/badge/AndroidUtilCode-v1.4.1-blue.svg
641
641
[ auc ] : https://github.com/Blankj/AndroidUtilCode
642
642
643
- [ buildsvg ] : https://travis-ci.org/Blankj/AndroidUtilCode.svg?branch=master
644
- [ build ] : https://travis-ci.org/Blankj/AndroidUtilCode
645
-
646
643
[ apisvg ] : https://img.shields.io/badge/API-15+-blue.svg
647
644
[ api ] : https://android-arsenal.com/api?level=15
648
645
Original file line number Diff line number Diff line change 14
14
# class:
15
15
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16
16
# public *;
17
- #}
17
+ #}
18
+
Original file line number Diff line number Diff line change @@ -1087,7 +1087,7 @@ public static String getFileSize(File file) {
1087
1087
* 获取目录长度
1088
1088
*
1089
1089
* @param dirPath 目录路径
1090
- * @return 文件大小
1090
+ * @return 目录长度
1091
1091
*/
1092
1092
public static long getDirLength (String dirPath ) {
1093
1093
return getDirLength (getFileByPath (dirPath ));
@@ -1097,7 +1097,7 @@ public static long getDirLength(String dirPath) {
1097
1097
* 获取目录长度
1098
1098
*
1099
1099
* @param dir 目录
1100
- * @return 文件大小
1100
+ * @return 目录长度
1101
1101
*/
1102
1102
public static long getDirLength (File dir ) {
1103
1103
if (!isDir (dir )) return -1 ;
@@ -1119,7 +1119,7 @@ public static long getDirLength(File dir) {
1119
1119
* 获取文件长度
1120
1120
*
1121
1121
* @param filePath 文件路径
1122
- * @return 文件大小
1122
+ * @return 文件长度
1123
1123
*/
1124
1124
public static long getFileLength (String filePath ) {
1125
1125
return getFileLength (getFileByPath (filePath ));
@@ -1129,7 +1129,7 @@ public static long getFileLength(String filePath) {
1129
1129
* 获取文件长度
1130
1130
*
1131
1131
* @param file 文件
1132
- * @return 文件大小
1132
+ * @return 文件长度
1133
1133
*/
1134
1134
public static long getFileLength (File file ) {
1135
1135
if (!isFile (file )) return -1 ;
You can’t perform that action at this time.
0 commit comments