ТестРесурс
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 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 ()
Возврат | |
---|---|
получить файл
public File getFile (File parentDir)
Параметры | |
---|---|
parentDir | File |
Возврат | |
---|---|
File |
getName
public String getName ()
Возврат | |
---|---|
String |
получить URL
public String getUrl ()
Возврат | |
---|---|
String |
mountZip
public boolean mountZip ()
Возврат | |
---|---|
boolean |
toJson
public JSONObject toJson ()
Возврат | |
---|---|
JSONObject |
Броски | |
---|---|
JSONException |
ТестРесурс
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 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 ()
Возврат | |
---|---|
получить файл
public File getFile (File parentDir)
Параметры | |
---|---|
parentDir | File |
Возврат | |
---|---|
File |
getName
public String getName ()
Возврат | |
---|---|
String |
получить URL
public String getUrl ()
Возврат | |
---|---|
String |
mountZip
public boolean mountZip ()
Возврат | |
---|---|
boolean |
toJson
public JSONObject toJson ()
Возврат | |
---|---|
JSONObject |
Броски | |
---|---|
JSONException |