AcloudConfigParser
public class AcloudConfigParser
extends Object
java.lang.オブジェクト | |
↳ | com.android.tradefed.device.cloud.AcloudConfigParser |
Acloud 構成を解析するヘルパー クラス (クラウド デバイス インスタンスの起動に使用されます)。
まとめ
パブリックメソッド | |
---|---|
String | getValueForKey ( AcloudConfigParser.AcloudKeys key) Acloud キーに関連付けられた値を返します。値がない場合は null を返します。 |
static AcloudConfigParser | parseConfig (File configFile) acloud 設定ファイルを解析し、値をクエリできるデータが設定された |
パブリックメソッド
getValueForKey
public String getValueForKey (AcloudConfigParser.AcloudKeys key)
Acloud キーに関連付けられた値を返します。値がない場合は null を返します。
パラメーター | |
---|---|
key | AcloudConfigParser.AcloudKeys |
戻り値 | |
---|---|
String |
parseConfig
public static AcloudConfigParser parseConfig (File configFile)
acloud 設定ファイルを解析し、値をクエリできるデータが設定されたAcloudConfigParser
を返します。エラーの場合は null を返します。
パラメーター | |
---|---|
configFile | File |
戻り値 | |
---|---|
AcloudConfigParser |