Sumber Daya Tes

public class TestResource
extends Object

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


Kelas untuk memodelkan pesan TestResource yang dikembalikan oleh TFC API.

Ringkasan

Metode publik

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

Metode publik

dariJson

public static TestResource fromJson (JSONObject json)

Parameter
json JSONObject

Kembali
TestResource

dariJsonArray

public static  fromJsonArray (JSONArray jsonArray)

Parameter
jsonArray JSONArray

Kembali

Melempar
JSONException

dapatkanDekompresi

public boolean getDecompress ()

Kembali
boolean

dapatkanDecompressDir

public String getDecompressDir ()

Kembali
String

dapatkanDecompressDir

public File getDecompressDir (File parentDir)

Parameter
parentDir File

Kembali
File

dapatkanDecompressFiles

public  getDecompressFiles ()

Kembali

dapatkan File

public File getFile (File parentDir)

Parameter
parentDir File

Kembali
File

dapatkan Nama

public String getName ()

Kembali
String

dapatkanUrl

public String getUrl ()

Kembali
String

mountZip

public boolean mountZip ()

Kembali
boolean

kepadaJson

public JSONObject toJson ()

Kembali
JSONObject

Melempar
JSONException