測試資源
public class TestResource
extends Object
對象 |
↳ | com.android.tradefed.cluster.TestResource |
對 TFC API 返回的 TestResource 消息進行建模的類。
概括
公共方法
來自Json
public static TestResource fromJson (JSONObject json)
來自JsonArray
public static fromJsonArray (JSONArray jsonArray)
解壓
public boolean getDecompress ()
獲取解壓目錄
public String getDecompressDir ()
獲取解壓目錄
public File getDecompressDir (File parentDir)
獲取解壓文件
public getDecompressFiles ()
獲取文件
public File getFile (File parentDir)
獲取名稱
public String getName ()
獲取網址
public String getUrl ()
安裝郵編
public boolean mountZip ()
toJson
public JSONObject toJson ()