CommandFileParser

public class CommandFileParser
extends Object

java.lang.객체
com.android.tradefed.command.CommandFileParser


명령줄 세트를 포함하는 파일의 파서입니다.

주어진 파일의 구문은 일련의 라인이어야 합니다. 각 줄은 명령입니다. 즉, 구성과 해당 옵션:

   [options] config-name
   [options] config-name2
   ...
 

요약

중첩 클래스

class CommandFileParser.CommandLine

공개 생성자

CommandFileParser ()

공개 방법

getIncludedFiles ()

마지막 구문 분석된 명령 파일에 포함된 명령 파일을 반환합니다.

parseFile (File file)

필요에 따라 매크로 확장을 수행하여 file 에 포함된 명령을 구문 분석합니다.

공개 생성자

CommandFileParser

public CommandFileParser ()

공개 방법

getIncludedFiles

public  getIncludedFiles ()

마지막 구문 분석된 명령 파일에 포함된 명령 파일을 반환합니다.

보고

구문 분석 파일

public  parseFile (File file)

필요에 따라 매크로 확장을 수행하여 file 에 포함된 명령을 구문 분석합니다.

매개변수
file File : 파싱할 ERROR(/File)

보고
구문 분석된 명령 목록

던지기
파일 읽기에 실패한 경우
ConfigurationException 파일 내용을 파싱할 수 없는 경우