RisorsaTest

public class TestResource
extends Object

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


Una classe per modellare un messaggio TestResource restituito dall'API TFC.

Riepilogo

Metodi pubblici

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()

Metodi pubblici

daJson

public static TestResource fromJson (JSONObject json)

Parametri
json JSONObject

Ritorni
TestResource

daJsonArray

public static  fromJsonArray (JSONArray jsonArray)

Parametri
jsonArray JSONArray

Ritorni

Lanci
JSONException

getDecompress

public boolean getDecompress ()

Ritorni
boolean

getDecompressDir

public String getDecompressDir ()

Ritorni
String

getDecompressDir

public File getDecompressDir (File parentDir)

Parametri
parentDir File

Ritorni
File

getDecompressFiles

public  getDecompressFiles ()

Ritorni

getFile

public File getFile (File parentDir)

Parametri
parentDir File

Ritorni
File

getName

public String getName ()

Ritorni
String

getURL

public String getUrl ()

Ritorni
String

MountZip

public boolean mountZip ()

Ritorni
boolean

toJson

public JSONObject toJson ()

Ritorni
JSONObject

Lanci
JSONException