TestResource

public class TestResource
extends Object

java.lang.Object
com.android.tradefed.cluster.TestResource


คลาสสำหรับสร้างโมเดลข้อความ TestResource ที่ API ของ TFC แสดงผล

สรุป

เมธอดสาธารณะ

static TestResource fromJson(JSONObject json)
static List<TestResource> fromJsonArray(JSONArray jsonArray)
boolean getDecompress()
String getDecompressDir()
File getDecompressDir(File parentDir)
List<String> getDecompressFiles()
File getFile(File parentDir)
String getName()
String getUrl()
boolean mountZip()
JSONObject toJson()

เมธอดสาธารณะ

fromJson

public static TestResource fromJson (JSONObject json)

พารามิเตอร์
json JSONObject

การคืนสินค้า
TestResource

fromJsonArray

public static List<TestResource> fromJsonArray (JSONArray jsonArray)

พารามิเตอร์
jsonArray JSONArray

การคืนสินค้า
List<TestResource>

ส่ง
JSONException

getDecompress

public boolean getDecompress ()

การคืนสินค้า
boolean

getDecompressDir

public String getDecompressDir ()

การคืนสินค้า
String

getDecompressDir

public File getDecompressDir (File parentDir)

พารามิเตอร์
parentDir File

การคืนสินค้า
File

getDecompressFiles

public List<String> getDecompressFiles ()

การคืนสินค้า
List<String>

getFile

public File getFile (File parentDir)

พารามิเตอร์
parentDir File

การคืนสินค้า
File

getName

public String getName ()

การคืนสินค้า
String

getUrl

public String getUrl ()

การคืนสินค้า
String

mountZip

public boolean mountZip ()

การคืนสินค้า
boolean

toJson

public JSONObject toJson ()

การคืนสินค้า
JSONObject

ส่ง
JSONException