テストリソース

public class TestResource
extends Object

java.lang.オブジェクト
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

get解凍する

public boolean getDecompress ()

戻り値
boolean

get解凍ディレクトリ

public String getDecompressDir ()

戻り値
String

get解凍ディレクトリ

public File getDecompressDir (File parentDir)

パラメーター
parentDir File

戻り値
File

get解凍ファイル

public  getDecompressFiles ()

戻り値

ファイルの取得

public File getFile (File parentDir)

パラメーター
parentDir File

戻り値
File

getName

public String getName ()

戻り値
String

URLの取得

public String getUrl ()

戻り値
String

マウントジップ

public boolean mountZip ()

戻り値
boolean

toJson

public JSONObject toJson ()

戻り値
JSONObject

投げる
JSONException