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()
|
सार्वजनिक तरीके
fromJson
public static TestResource fromJson (JSONObject json)
| पैरामीटर | |
|---|---|
json |
JSONObject |
| रिटर्न | |
|---|---|
TestResource |
|
fromJsonArray
public staticfromJsonArray (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
publicgetDecompressFiles ()
| रिटर्न | |
|---|---|
|
|
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 |
|