GCS下载助手
public class GCSDownloaderHelper
extends Object
java.lang.Object | |
↳ | com.android.tradefed.build.gcs.GCSDownloaderHelper |
GCS bucket 的下载器,负责缓存和解析全局配置。
概括
公共构造函数 | |
---|---|
GCSDownloaderHelper () |
公共方法 | |
---|---|
File | fetchTestResource (String gsPath) 从 GS 路径获取资源。 |
公共构造函数
GCS下载助手
public GCSDownloaderHelper ()
公共方法
获取测试资源
public File fetchTestResource (String gsPath)
从 GS 路径获取资源。
参数 | |
---|---|
gsPath | String : 资源所在的路径。例如:gs://bucket/path/file |
退货 | |
---|---|
File | 指向检索到的资源的ERROR(/File) 。 |
投掷 | |
---|---|
| com.android.tradefed.build.BuildRetrievalError |
BuildRetrievalError |