GCSCommon

public abstract class GCSCommon
extends Object

java.lang.Object
   ↳ com.android.tradefed.util.GCSCommon


已废弃!请改用 com.android.tradefed.util.gcs.GCSCommon。

保留此类是为了实现向后兼容性,因此可以使用 tradefed 预构建版本在旧分支上构建测试。

GCS 操作(例如下载和上传)的基类。GCSFileDownloaderGCSFileUploader

摘要

常量

int DEFAULT_TIMEOUT

公共构造函数

GCSCommon()
GCSCommon(File jsonKeyFile)

受保护的方法

Storage getStorage(Collection<String> scopes)

常量

DEFAULT_TIMEOUT

protected static final int DEFAULT_TIMEOUT

常量值: 600000 (0x000927c0)

公共构造函数

GCSCommon

public GCSCommon ()

GCSCommon

public GCSCommon (File jsonKeyFile)

参数
jsonKeyFile File

受保护的方法

getStorage

protected Storage getStorage (Collection<String> scopes)

参数
scopes Collection

返回
Storage

抛出
IOException