Zasób testowy
public
class
TestResource
extends Object
java.lang.Object | |
↳ | com.android.tradefed.cluster.TestResource |
Klasa do modelowania komunikatu TestResource zwracanego przez interfejs TFC API.
Podsumowanie
Metody publiczne | |
---|---|
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()
|
Metody publiczne
Od JSON
public static TestResource fromJson (JSONObject json)
Parametry | |
---|---|
json |
JSONObject |
Zwroty | |
---|---|
TestResource |
Tablica JSON
public staticfromJsonArray (JSONArray jsonArray)
Parametry | |
---|---|
jsonArray |
JSONArray |
Zwroty | |
---|---|
|
Rzuty | |
---|---|
JSONException |
GetDekompresuj
public boolean getDecompress ()
Zwroty | |
---|---|
boolean |
getDecompressDir;
public String getDecompressDir ()
Zwroty | |
---|---|
String |
getDecompressDir;
public File getDecompressDir (File parentDir)
Parametry | |
---|---|
parentDir |
File |
Zwroty | |
---|---|
File |
getDecompressFiles,
publicgetDecompressFiles ()
Zwroty | |
---|---|
|
getFile
public File getFile (File parentDir)
Parametry | |
---|---|
parentDir |
File |
Zwroty | |
---|---|
File |
getName
public String getName ()
Zwroty | |
---|---|
String |
getUrl
public String getUrl ()
Zwroty | |
---|---|
String |
ZipZip
public boolean mountZip ()
Zwroty | |
---|---|
boolean |
Jan
public JSONObject toJson ()
Zwroty | |
---|---|
JSONObject |
Rzuty | |
---|---|
JSONException |