HttpRemoteFileResolver

public class HttpRemoteFileResolver
extends Object implements IRemoteFileResolver

java.lang.Object
com.android.tradefed.config.remote.HttpRemoteFileResolver


http aracılığıyla uzak dosyanın indirilmesine izin veren IRemoteFileResolver uygulaması

Özet

Alanlar

public static final String PROTOCOL_HTTP

Kamu inşaatçıları

HttpRemoteFileResolver ()

Genel yöntemler

String getSupportedProtocol ()

İndirme için desteklenen ilgili protokolü döndürür.

IRemoteFileResolver.ResolvedFile resolveRemoteFile ( IRemoteFileResolver.RemoteFileResolverArgs args)

Uzak dosyayı geleceğe hazır bir arayüzde çözümleyin

Korumalı yöntemler

IHttpHelper getDownloader ()

Alanlar

PROTOCOL_HTTP

public static final String PROTOCOL_HTTP

Kamu inşaatçıları

HttpRemoteFileResolver

public HttpRemoteFileResolver ()

Genel yöntemler

getSupportedProtocol

public String getSupportedProtocol ()

İndirme için desteklenen ilgili protokolü döndürür.

İadeler
String

çözümUzakDosya

public IRemoteFileResolver.ResolvedFile resolveRemoteFile (IRemoteFileResolver.RemoteFileResolverArgs args)

Uzak dosyayı geleceğe hazır bir arayüzde çözümleyin

Parametreler
args IRemoteFileResolver.RemoteFileResolverArgs : Uzaktan kumandanın indirileceğini ve nasıl indirileceğini açıklayan RemoteFileResolverArgs .

İadeler
IRemoteFileResolver.ResolvedFile Çözümlenen yerel dosya gösterimi.

Atar
BuildRetrievalError

Korumalı yöntemler

İndiriciyi al

protected IHttpHelper getDownloader ()

İadeler
IHttpHelper