Test Kaynağı

public class TestResource
extends Object

java.lang.Object
com.android.tradefed.cluster.TestResource


TFC API tarafından döndürülen bir TestResource mesajını modellemek için bir sınıf.

Özet

Genel yöntemler

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

Genel yöntemler

Json'dan

public static TestResource fromJson (JSONObject json)

Parametreler
json JSONObject

İadeler
TestResource

fromJsonArray

public static  fromJsonArray (JSONArray jsonArray)

Parametreler
jsonArray JSONArray

İadeler

Atar
JSONException

Sıkıştırmayı aç

public boolean getDecompress ()

İadeler
boolean

getDecompressDir

public String getDecompressDir ()

İadeler
String

getDecompressDir

public File getDecompressDir (File parentDir)

Parametreler
parentDir File

İadeler
File

getDecompressFiles

public  getDecompressFiles ()

İadeler

dosyayı al

public File getFile (File parentDir)

Parametreler
parentDir File

İadeler
File

getName

public String getName ()

İadeler
String

getUrl

public String getUrl ()

İadeler
String

mountZip

public boolean mountZip ()

İadeler
boolean

toJson

public JSONObject toJson ()

İadeler
JSONObject

Atar
JSONException
,

Test Kaynağı

public class TestResource
extends Object

java.lang.Object
com.android.tradefed.cluster.TestResource


TFC API tarafından döndürülen bir TestResource mesajını modellemek için bir sınıf.

Özet

Genel yöntemler

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

Genel yöntemler

Json'dan

public static TestResource fromJson (JSONObject json)

Parametreler
json JSONObject

İadeler
TestResource

fromJsonArray

public static  fromJsonArray (JSONArray jsonArray)

Parametreler
jsonArray JSONArray

İadeler

Atar
JSONException

Sıkıştırmayı aç

public boolean getDecompress ()

İadeler
boolean

getDecompressDir

public String getDecompressDir ()

İadeler
String

getDecompressDir

public File getDecompressDir (File parentDir)

Parametreler
parentDir File

İadeler
File

getDecompressFiles

public  getDecompressFiles ()

İadeler

dosyayı al

public File getFile (File parentDir)

Parametreler
parentDir File

İadeler
File

getName

public String getName ()

İadeler
String

getUrl

public String getUrl ()

İadeler
String

mountZip

public boolean mountZip ()

İadeler
boolean

toJson

public JSONObject toJson ()

İadeler
JSONObject

Atar
JSONException