Tài nguyên kiểm tra
public class TestResource
extends Object
java.lang.Object |
↳ | com.android.tradefed.cluster.TestResource |
Một lớp để mô hình hóa thông báo TestResource được API TFC trả về.
Bản tóm tắt
Phương pháp công cộng
từJson
public static TestResource fromJson (JSONObject json)
từJsonArray
public static fromJsonArray (JSONArray jsonArray)
Thông số |
---|
jsonArray | JSONArray |
giải nén
public boolean getDecompress ()
getGiải nénDir
public String getDecompressDir ()
getGiải nénDir
public File getDecompressDir (File parentDir)
getDecompressFiles
public getDecompressFiles ()
có được file
public File getFile (File parentDir)
lấy tên
public String getName ()
lấyUrl
public String getUrl ()
gắn kếtZip
public boolean mountZip ()
toJson
public JSONObject toJson ()