LocalFileResolver

public class LocalFileResolver
extends Object implements IRemoteFileResolver

java.lang.Object
   ↳ com.android.tradefed.config.remote.LocalFileResolver


實作 IRemoteFileResolver,允許連結本機檔案

摘要

常數

String PROTOCOL

公用建構函式

LocalFileResolver()

公用方法

String getSupportedProtocol()

傳回支援下載的相關聯通訊協定。

IRemoteFileResolver.ResolvedFile resolveRemoteFile(IRemoteFileResolver.RemoteFileResolverArgs args)

在具有前瞻性的介面中解析遠端檔案

常數

通訊協定

public static final String PROTOCOL

常數值: "file"

公用建構函式

LocalFileResolver

public LocalFileResolver ()

公用方法

getSupportedProtocol

public String getSupportedProtocol ()

傳回支援下載的相關聯通訊協定。

傳回
String

resolveRemoteFile

public IRemoteFileResolver.ResolvedFile resolveRemoteFile (IRemoteFileResolver.RemoteFileResolverArgs args)

在具有前瞻性的介面中解析遠端檔案

參數
args IRemoteFileResolver.RemoteFileResolverArgsRemoteFileResolverArgs,說明要下載的遙控器和下載方式。

傳回
IRemoteFileResolver.ResolvedFile 已解析的本機檔案表示法。

擲回
BuildRetrievalError