TestResource

public class TestResource
extends Object

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


यह क्लास, TFC एपीआई से मिले TestResource मैसेज को मॉडल करती है.

खास जानकारी

पब्लिक मेथड

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