Google is committed to advancing racial equity for Black communities. See how.

LocalFileResolver

public class LocalFileResolver
extends Object implements IRemoteFileResolver

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


Implementation of IRemoteFileResolver that allows linking local files

Summary

Fields

public static final String PROTOCOL

Public constructors

LocalFileResolver()

Public methods

String getSupportedProtocol()

Returns the associated protocol supported for download.

File resolveRemoteFiles(File consideredFile)

Resolve the remote file.

Fields

PROTOCOL

public static final String PROTOCOL

Public constructors

LocalFileResolver

public LocalFileResolver ()

Public methods

getSupportedProtocol

public String getSupportedProtocol ()

Returns the associated protocol supported for download.

Returns
String

resolveRemoteFiles

public File resolveRemoteFiles (File consideredFile)

Resolve the remote file.

Parameters
consideredFile File: ERROR(/File) evaluated as remote.

Returns
File The resolved local file.

Throws
BuildRetrievalError