AcloudConfigParser
public
class
AcloudConfigParser
extends Object
java.lang.Object | |
↳ | com.android.tradefed.device.cloud.AcloudConfigParser |
Helper class that parse an Acloud config (used to start a Cloud device instance).
Summary
Public methods | |
---|---|
String
|
getValueForKey(AcloudConfigParser.AcloudKeys key)
Returns the value associated with the Acloud key, null if no value. |
static
AcloudConfigParser
|
parseConfig(File configFile)
Parse an acloud configuration file and returns a populated |
Public methods
getValueForKey
public String getValueForKey (AcloudConfigParser.AcloudKeys key)
Returns the value associated with the Acloud key, null if no value.
Parameters | |
---|---|
key |
AcloudConfigParser.AcloudKeys |
Returns | |
---|---|
String |
parseConfig
public static AcloudConfigParser parseConfig (File configFile)
Parse an acloud configuration file and returns a populated AcloudConfigParser
that
can be queried for values. Returns null in case of errors.
Parameters | |
---|---|
configFile |
File |
Returns | |
---|---|
AcloudConfigParser |