컬렉션을 사용해 정리하기 내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.

테스트 리소스

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

압축해제

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

도착 URL

public String getUrl ()

보고
String

마운트 지퍼

public boolean mountZip ()

보고
boolean

toJson

public JSONObject toJson ()

보고
JSONObject

던지다
JSONException