테스트리소스

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

get압축해제

public boolean getDecompress ()

보고
boolean

getDecompressDir

public String getDecompressDir ()

보고
String

getDecompressDir

public File getDecompressDir (File parentDir)

매개변수
parentDir File

보고
File

getDecompressFiles

public  getDecompressFiles ()

보고

파일 가져오기

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