TestResource
public class TestResource
extends Object
java.lang.Object | |
↳ | 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 () |
الأساليب العامة
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 ()
عائدات | |
---|---|
خذ الملف
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 |