配置实用程序
public class ConfigurationUtil
extends Object
java.lang.Object |
↳ | com.android.tradefed.config.ConfigurationUtil |
实用程序功能来处理配置文件。
概要
公开方法 |
---|
static | getConfigNamesFileFromDirs (String subPath, dirs, configNamePatterns) getConfigNamesFileFromDirs (String subPath, dirs, configNamePatterns) getConfigNamesFileFromDirs (String subPath, dirs, configNamePatterns) 在给定目录中搜索的特定模式。 |
static | getConfigNamesFileFromDirs (String subPath, dirs) getConfigNamesFileFromDirs (String subPath, dirs) 从给定目录获取测试配置文件的助手。 |
static | getConfigNamesFromDirs (String subPath, dirs) getConfigNamesFromDirs (String subPath, dirs) 从给定目录获取测试配置文件的助手。 |
领域
班级名称
public static final String CLASS_NAME
CONFIGURATION_NAME
public static final String CONFIGURATION_NAME
KEY_NAME
public static final String KEY_NAME
NAME_NAME
public static final String NAME_NAME
OPTION_NAME
public static final String OPTION_NAME
VALUE_NAME
public static final String VALUE_NAME
公共建设者
配置实用程序
public ConfigurationUtil ()
公开方法
getConfigNamesFileFromDirs
public static getConfigNamesFileFromDirs (String subPath,
dirs,
configNamePatterns)
在给定目录中搜索的特定模式。
参量 |
---|
subPath | String :查找配置的位置。可以为空。 |
dirs | :额外目录的ERROR(/File) 列表以搜索测试配置 |
configNamePatterns | :要找到的文件的模式列表。 |
getConfigNamesFileFromDirs
public static getConfigNamesFileFromDirs (String subPath,
dirs)
从给定目录获取测试配置文件的助手。
参量 |
---|
subPath | String :查找配置的位置。可以为null。 |
dirs | :额外目录的ERROR(/File) 列表以搜索测试配置 |
getConfigNamesFromDirs
public static getConfigNamesFromDirs (String subPath,
dirs)
从给定目录获取测试配置文件的助手。
参量 |
---|
subPath | String :在哪里寻找配置。可以为空。 |
dirs | :额外目录的ERROR(/File) 列表,用于搜索测试配置 |