命令檔案解析器

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)

解析file中包含的命令,根據需要進行宏擴展

公共構造函數

命令檔案解析器

public CommandFileParser ()

公共方法

取得包含的文件

public  getIncludedFiles ()

傳回最後解析的命令檔案所包含的命令檔。

退貨

解析檔案

public  parseFile (File file)

解析file中包含的命令,根據需要進行宏擴展

參數
file File :要解析的ERROR(/File)

退貨
已解析指令的列表

投擲
如果讀取檔案失敗
ConfigurationException如果無法解析文件內容
,

命令檔案解析器

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)

解析file中包含的命令,根據需要進行宏擴展

公共構造函數

命令檔案解析器

public CommandFileParser ()

公共方法

取得包含的文件

public  getIncludedFiles ()

傳回最後解析的命令檔案所包含的命令檔。

退貨

解析檔案

public  parseFile (File file)

解析file中包含的命令,根據需要進行宏擴展

參數
file File :要解析的ERROR(/File)

退貨
已解析指令的列表

投擲
如果讀取檔案失敗
ConfigurationException如果無法解析文件內容