Recurso de teste
public
class
TestResource
extends Object
java.lang.Object | |
↳ | com.android.tradefed.cluster.TestResource |
Uma classe para modelar uma mensagem TestResource retornada pela API TFC.
Resumo
Métodos públicos | |
---|---|
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()
|
Métodos públicos
da JSON
public static TestResource fromJson (JSONObject json)
Parâmetros | |
---|---|
json |
JSONObject |
Retorna | |
---|---|
TestResource |
fromJsonArray
public staticfromJsonArray (JSONArray jsonArray)
Parâmetros | |
---|---|
jsonArray |
JSONArray |
Retorna | |
---|---|
|
Gera | |
---|---|
JSONException |
getDecompress
public boolean getDecompress ()
Retorna | |
---|---|
boolean |
getDecompressDir
public String getDecompressDir ()
Retorna | |
---|---|
String |
getDecompressDir
public File getDecompressDir (File parentDir)
Parâmetros | |
---|---|
parentDir |
File |
Retorna | |
---|---|
File |
getDecompressFiles
publicgetDecompressFiles ()
Retorna | |
---|---|
|
getFile
public File getFile (File parentDir)
Parâmetros | |
---|---|
parentDir |
File |
Retorna | |
---|---|
File |
getName
public String getName ()
Retorna | |
---|---|
String |
getUrl
public String getUrl ()
Retorna | |
---|---|
String |
mountZip
public boolean mountZip ()
Retorna | |
---|---|
boolean |
ToJson
public JSONObject toJson ()
Retorna | |
---|---|
JSONObject |
Gera | |
---|---|
JSONException |