টেস্টরিসোর্স

public class TestResource
extends Object

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


TFC API দ্বারা ফেরত দেওয়া একটি TestResource মেসেজ মডেল করার জন্য একটি ক্লাস।

সারসংক্ষেপ

জনসাধারণের পদ্ধতি

static TestResource fromJson (JSONObject json)
static List< TestResource > fromJsonArray (JSONArray jsonArray)
boolean getDecompress ()
String getDecompressDir ()
File getDecompressDir (File parentDir)
List<String> getDecompressFiles ()
File getFile (File parentDir)
String getName ()
String getUrl ()
boolean mountZip ()
JSONObject toJson ()

জনসাধারণের পদ্ধতি

ফ্রমজেসন

public static TestResource fromJson (JSONObject json)

প্যারামিটার
json JSONObject

ফেরত
TestResource

fromJsonArray

public static List<TestResource> fromJsonArray (JSONArray jsonArray)

প্যারামিটার
jsonArray JSONArray

ফেরত
List< TestResource >

নিক্ষেপ
JSONException

ডিকম্প্রেস করুন

public boolean getDecompress ()

ফেরত
boolean

getDecompressDir

public String getDecompressDir ()

ফেরত
String

getDecompressDir

public File getDecompressDir (File parentDir)

প্যারামিটার
parentDir File

ফেরত
File

ফাইলগুলি ডিকম্প্রেস করুন

public List<String> getDecompressFiles ()

ফেরত
List<String>

ফাইল পান

public File getFile (File parentDir)

প্যারামিটার
parentDir File

ফেরত
File

নাম পান

public String getName ()

ফেরত
String

getUrl

public String getUrl ()

ফেরত
String

মাউন্টজিপ

public boolean mountZip ()

ফেরত
boolean

toJson

public JSONObject toJson ()

ফেরত
JSONObject

নিক্ষেপ
JSONException