GCSFileDownloader

public class GCSFileDownloader
extends Object

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


File downloader to download file from google cloud storage (GCS).

Summary

Public constructors

GCSFileDownloader()

Public methods

InputStream downloadFile(String bucketName, String filename)

Download a file from a gcs bucket file.

Public constructors

GCSFileDownloader

public GCSFileDownloader ()

Public methods

downloadFile

public InputStream downloadFile (String bucketName, 
                String filename)

Download a file from a gcs bucket file.

Parameters
bucketName String: gcs bucket name

filename String: the filename

Returns
InputStream InputStream with the file content.

Throws
IOException