TestResource

public class TestResource
extends Object

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


TFC API द्वारा लौटाए गए TestResource संदेश को मॉडल करने के लिए एक वर्ग।

सारांश

सार्वजनिक तरीके

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

सार्वजनिक तरीके

जेसन से

public static TestResource fromJson (JSONObject json)

पैरामीटर
json JSONObject

रिटर्न
TestResource

जेसनअरे से

public static  fromJsonArray (JSONArray jsonArray)

पैरामीटर
jsonArray JSONArray

रिटर्न

फेंकता
JSONException

getDecompress

public boolean getDecompress ()

रिटर्न
boolean

getDecompressDir

public String getDecompressDir ()

रिटर्न
String

getDecompressDir

public File getDecompressDir (File parentDir)

पैरामीटर
parentDir File

रिटर्न
File

getDecompressFiles

public  getDecompressFiles ()

रिटर्न

दस्तावेज लें

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