修改文件解析器
public class ModifiedFilesParser
extends Object
java.lang.Object | |
↳ | com.android.tradefed.cache.ModifiedFilesParser |
负责从 modified_files.json 解析和提取信息的类。
概括
公共构造函数 | |
---|---|
ModifiedFilesParser (File modifiedFilesJson, boolean isDeviceImage) |
公共方法 | |
---|---|
boolean | hasImageChanged () |
void | parse () |
公共构造函数
修改文件解析器
public ModifiedFilesParser (File modifiedFilesJson, boolean isDeviceImage)
参数 | |
---|---|
modifiedFilesJson | File |
isDeviceImage | boolean |
公共方法
已更改图像
public boolean hasImageChanged ()
退货 | |
---|---|
boolean |
解析
public void parse ()
投掷 | |
---|---|
| 异常 |
| org.json.JSONException异常 |
JSONException |