修改檔案解析器
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 |