TestResource

public class TestResource
extends Object

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


TFC API によって返される TestResource メッセージをモデル化するクラス。

まとめ

公開メソッド

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 static  fromJsonArray (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

public  getDecompressFiles ()

戻り値

getFile

public File getFile (File parentDir)

パラメーター
parentDir File

戻り値
File

getName

public String getName ()

戻り値
String

getUrl

public String getUrl ()

戻り値
String

マウントジップ

public boolean mountZip ()

戻り値
boolean

toJson

public JSONObject toJson ()

戻り値
JSONObject

スロー
JSONException