TestRessource
public class TestResource
extends Object
java.lang.Object | |
↳ | com.android.tradefed.cluster.TestResource |
Eine Klasse zum Modellieren einer von der TFC-API zurückgegebenen TestResource-Nachricht.
Zusammenfassung
Öffentliche Methoden | |
---|---|
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 () |
Öffentliche Methoden
vonJson
public static TestResource fromJson (JSONObject json)
Parameter | |
---|---|
json | JSONObject |
Kehrt zurück | |
---|---|
TestResource |
fromJsonArray
public staticfromJsonArray (JSONArray jsonArray)
Parameter | |
---|---|
jsonArray | JSONArray |
Kehrt zurück | |
---|---|
Würfe | |
---|---|
JSONException |
getDecompress
public boolean getDecompress ()
Kehrt zurück | |
---|---|
boolean |
getDecompressDir
public String getDecompressDir ()
Kehrt zurück | |
---|---|
String |
getDecompressDir
public File getDecompressDir (File parentDir)
Parameter | |
---|---|
parentDir | File |
Kehrt zurück | |
---|---|
File |
getDecompressFiles
publicgetDecompressFiles ()
Kehrt zurück | |
---|---|
eine Datei bekommen
public File getFile (File parentDir)
Parameter | |
---|---|
parentDir | File |
Kehrt zurück | |
---|---|
File |
getName
public String getName ()
Kehrt zurück | |
---|---|
String |
getUrl
public String getUrl ()
Kehrt zurück | |
---|---|
String |
mountZip
public boolean mountZip ()
Kehrt zurück | |
---|---|
boolean |
toJson
public JSONObject toJson ()
Kehrt zurück | |
---|---|
JSONObject |
Würfe | |
---|---|
JSONException |
TestRessource
public class TestResource
extends Object
java.lang.Object | |
↳ | com.android.tradefed.cluster.TestResource |
Eine Klasse zum Modellieren einer von der TFC-API zurückgegebenen TestResource-Nachricht.
Zusammenfassung
Öffentliche Methoden | |
---|---|
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 () |
Öffentliche Methoden
vonJson
public static TestResource fromJson (JSONObject json)
Parameter | |
---|---|
json | JSONObject |
Kehrt zurück | |
---|---|
TestResource |
fromJsonArray
public staticfromJsonArray (JSONArray jsonArray)
Parameter | |
---|---|
jsonArray | JSONArray |
Kehrt zurück | |
---|---|
Würfe | |
---|---|
JSONException |
getDecompress
public boolean getDecompress ()
Kehrt zurück | |
---|---|
boolean |
getDecompressDir
public String getDecompressDir ()
Kehrt zurück | |
---|---|
String |
getDecompressDir
public File getDecompressDir (File parentDir)
Parameter | |
---|---|
parentDir | File |
Kehrt zurück | |
---|---|
File |
getDecompressFiles
publicgetDecompressFiles ()
Kehrt zurück | |
---|---|
eine Datei bekommen
public File getFile (File parentDir)
Parameter | |
---|---|
parentDir | File |
Kehrt zurück | |
---|---|
File |
getName
public String getName ()
Kehrt zurück | |
---|---|
String |
getUrl
public String getUrl ()
Kehrt zurück | |
---|---|
String |
mountZip
public boolean mountZip ()
Kehrt zurück | |
---|---|
boolean |
toJson
public JSONObject toJson ()
Kehrt zurück | |
---|---|
JSONObject |
Würfe | |
---|---|
JSONException |