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 staticfromJsonArray (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
publicgetDecompressFiles ()
| 반환 값 | |
|---|---|
|
|
getFile
public File getFile (File parentDir)
| 매개변수 | |
|---|---|
parentDir |
File |
| 반환 값 | |
|---|---|
File |
|
getName
public String getName ()
| 반환 값 | |
|---|---|
String |
|
getUrl
public String getUrl ()
| 반환 값 | |
|---|---|
String |
|
mountZip
public boolean mountZip ()
| 반환 값 | |
|---|---|
boolean |
|
toJson
public JSONObject toJson ()
| 반환 값 | |
|---|---|
JSONObject |
|
| 생성 값 | |
|---|---|
JSONException |
|