{i>TestResource<i}

public class TestResource
extends Object

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


Class untuk membuat model pesan TestResource yang ditampilkan 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

Hasil
TestResource

fromJsonArray

public static  fromJsonArray (JSONArray jsonArray)

Parameter
jsonArray JSONArray

Hasil

Menampilkan
JSONException

getDecompress

public boolean getDecompress ()

Hasil
boolean

getDecompressDir

public String getDecompressDir ()

Hasil
String

getDecompressDir

public File getDecompressDir (File parentDir)

Parameter
parentDir File

Hasil
File

getDecompressFiles

public  getDecompressFiles ()

Hasil

{i>getFile<i}

public File getFile (File parentDir)

Parameter
parentDir File

Hasil
File

getName

public String getName ()

Hasil
String

getUrl

public String getUrl ()

Hasil
String

MtZip

public boolean mountZip ()

Hasil
boolean

ToJson

public JSONObject toJson ()

Hasil
JSONObject

Menampilkan
JSONException