Ressource de test
public class TestResource
extends Object
java.lang.Object | |
↳ | com.android.tradefed.cluster.TestResource |
Une classe pour modéliser un message TestResource renvoyé par l'API TFC.
Résumé
Méthodes publiques | |
---|---|
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 () |
Méthodes publiques
deJson
public static TestResource fromJson (JSONObject json)
Paramètres | |
---|---|
json | JSONObject |
Retour | |
---|---|
TestResource |
deJsonArray
public staticfromJsonArray (JSONArray jsonArray)
Paramètres | |
---|---|
jsonArray | JSONArray |
Retour | |
---|---|
Jetés | |
---|---|
JSONException |
getDécompresser
public boolean getDecompress ()
Retour | |
---|---|
boolean |
getDecompressDir
public String getDecompressDir ()
Retour | |
---|---|
String |
getDecompressDir
public File getDecompressDir (File parentDir)
Paramètres | |
---|---|
parentDir | File |
Retour | |
---|---|
File |
getDecompressFiles
publicgetDecompressFiles ()
Retour | |
---|---|
obtenir un fichier
public File getFile (File parentDir)
Paramètres | |
---|---|
parentDir | File |
Retour | |
---|---|
File |
obtenirNom
public String getName ()
Retour | |
---|---|
String |
obtenirUrl
public String getUrl ()
Retour | |
---|---|
String |
monterZip
public boolean mountZip ()
Retour | |
---|---|
boolean |
àJson
public JSONObject toJson ()
Retour | |
---|---|
JSONObject |
Jetés | |
---|---|
JSONException |
Ressource de test
public class TestResource
extends Object
java.lang.Object | |
↳ | com.android.tradefed.cluster.TestResource |
Une classe pour modéliser un message TestResource renvoyé par l'API TFC.
Résumé
Méthodes publiques | |
---|---|
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 () |
Méthodes publiques
deJson
public static TestResource fromJson (JSONObject json)
Paramètres | |
---|---|
json | JSONObject |
Retour | |
---|---|
TestResource |
deJsonArray
public staticfromJsonArray (JSONArray jsonArray)
Paramètres | |
---|---|
jsonArray | JSONArray |
Retour | |
---|---|
Jetés | |
---|---|
JSONException |
getDécompresser
public boolean getDecompress ()
Retour | |
---|---|
boolean |
getDecompressDir
public String getDecompressDir ()
Retour | |
---|---|
String |
getDecompressDir
public File getDecompressDir (File parentDir)
Paramètres | |
---|---|
parentDir | File |
Retour | |
---|---|
File |
getDecompressFiles
publicgetDecompressFiles ()
Retour | |
---|---|
obtenir un fichier
public File getFile (File parentDir)
Paramètres | |
---|---|
parentDir | File |
Retour | |
---|---|
File |
obtenirNom
public String getName ()
Retour | |
---|---|
String |
obtenirUrl
public String getUrl ()
Retour | |
---|---|
String |
monterZip
public boolean mountZip ()
Retour | |
---|---|
boolean |
àJson
public JSONObject toJson ()
Retour | |
---|---|
JSONObject |
Jetés | |
---|---|
JSONException |