-
public final class UtilsPublicdetail: 对外公开快捷方法
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classUtilsPublic.Companion
-
Method Summary
Modifier and Type Method Description final StringgetStoragePath()获取抓包存储路径 final StringgetModulePath(String moduleName)获取指定模块抓包存储路径 final List<String>getAllModuleName()获取全部模块名 final <ERROR CLASS><String, List<CaptureItem>>getAllModule(Boolean isEncrypt)获取全部模块所有抓包数据 final BooleandeleteModule(String moduleName)删除指定模块抓包数据 final BooleandeleteAllModule()删除全部模块抓包数据 final StringgetModuleFileSize(String moduleName)获取指定模块抓包文件大小 final StringgetAllModuleFileSize()获取全部模块抓包文件大小 final LonggetModuleFileLength(String moduleName)获取指定模块抓包文件大小 final LonggetAllModuleFileLength()获取全部模块抓包文件大小 -
-
Method Detail
-
getStoragePath
final String getStoragePath()
获取抓包存储路径
-
getModulePath
final String getModulePath(String moduleName)
获取指定模块抓包存储路径
- Parameters:
moduleName- 模块名 ( 要求唯一性 )
-
getAllModuleName
final List<String> getAllModuleName()
获取全部模块名
-
getAllModule
final <ERROR CLASS><String, List<CaptureItem>> getAllModule(Boolean isEncrypt)
获取全部模块所有抓包数据
- Parameters:
isEncrypt- 是否加密数据
-
deleteModule
final Boolean deleteModule(String moduleName)
删除指定模块抓包数据
- Parameters:
moduleName- 模块名 ( 要求唯一性 )
-
deleteAllModule
final Boolean deleteAllModule()
删除全部模块抓包数据
-
getModuleFileSize
final String getModuleFileSize(String moduleName)
获取指定模块抓包文件大小
- Parameters:
moduleName- 模块名 ( 要求唯一性 )
-
getAllModuleFileSize
final String getAllModuleFileSize()
获取全部模块抓包文件大小
-
getModuleFileLength
final Long getModuleFileLength(String moduleName)
获取指定模块抓包文件大小
- Parameters:
moduleName- 模块名 ( 要求唯一性 )
-
getAllModuleFileLength
final Long getAllModuleFileLength()
获取全部模块抓包文件大小
-
-
-
-