CommandFileParser
public class CommandFileParser
extends Object
java.lang.Object | |
↳ | com.android.tradefed.command.CommandFileParser |
包含命令行的文件的解析器。
给定文件的语法应为一系列行。每行都是一条命令;也就是说,配置及其选项:[options] config-name [options] config-name2 ...
概括
嵌套类 | |
---|---|
class | CommandFileParser.CommandLine
|
公共建设者 | |
---|---|
CommandFileParser () |
公开方法 | |
---|---|
getIncludedFiles () 返回最后解析的命令文件中包含的命令文件。 | |
parseFile (File file) 解析 |
公共建设者
CommandFileParser
public CommandFileParser ()
公开方法
getIncludedFiles
publicgetIncludedFiles ()
返回最后解析的命令文件中包含的命令文件。
退货 | |
---|---|
parseFile
publicparseFile (File file)
解析file
包含的命令,并根据需要进行宏扩展
参数 | |
---|---|
file | File :要解析的ERROR(/File) |
退货 | |
---|---|
解析命令列表 |
投掷 | |
---|---|
| 如果无法读取文件 |
ConfigurationException | 如果无法解析文件的内容 |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2020-09-08 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"没有我需要的信息"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"太复杂/步骤太多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"内容需要更新"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻译问题"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/代码问题"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"易于理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"解决了我的问题"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]