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.
[]
[]