IRemoteFileResolver.ResolvedFile

public static class IRemoteFileResolver.ResolvedFile
extends Object

java.lang.Object
com.android.tradefed.config.remote.IRemoteFileResolver.ResolvedFile


保存有關已解析文件和一些元資料的資訊的類別。

概括

公共構造函數

ResolvedFile (File resolvedFile)

公共方法

IRemoteFileResolver.ResolvedFile cleanUp (boolean cleanUp)

是否應在呼叫結束時刪除已解析的檔案。

File getResolvedFile ()
boolean shouldCleanUp ()

公共構造函數

已解決的文件

public ResolvedFile (File resolvedFile)

參數
resolvedFile File

公共方法

清理

public IRemoteFileResolver.ResolvedFile cleanUp (boolean cleanUp)

是否應在呼叫結束時刪除已解析的檔案。對於不應刪除的檔案設定為 false。例如:您擁有的本機文件。

參數
cleanUp boolean

退貨
IRemoteFileResolver.ResolvedFile

取得已解析的文件

public File getResolvedFile ()

退貨
File

應該清理

public boolean shouldCleanUp ()

退貨
boolean