ТестРесурс

public class TestResource
extends Object

java.lang.Объект
com.android.tradefed.cluster.TestResource


Класс для моделирования сообщения TestResource, возвращаемого TFC API.

Краткое содержание

Публичные методы

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

Публичные методы

от Json

public static TestResource fromJson (JSONObject json)

Параметры
json JSONObject

Возвращает
TestResource

из JsonArray

public static  fromJsonArray (JSONArray jsonArray)

Параметры
jsonArray JSONArray

Возвращает

Броски
JSONException

получитьраспаковать

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

получить имя

public String getName ()

Возвращает
String

получить URL

public String getUrl ()

Возвращает
String

mountZip

public boolean mountZip ()

Возвращает
boolean

toJson

public JSONObject toJson ()

Возвращает
JSONObject

Броски
JSONException