修改文件解析器
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 ()
投掷 | |
---|---|
| IO异常 |
| org.json.JSONException |
JSONException |