HttpRemoteFileResolver

public class HttpRemoteFileResolver
extends Object implements IRemoteFileResolver

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


Uzak dosyanın http yoluyla 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 ilişkili protokolü döndürür.

IRemoteFileResolver.ResolvedFile resolveRemoteFile ( IRemoteFileResolver.RemoteFileResolverArgs args)

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

Korumalı yöntemler

IHttpHelper getDownloader ()

alanlar

PROTOCOL_HTTP

public static final String PROTOCOL_HTTP

kamu inşaatçılar

HttpRemoteFileResolver

public HttpRemoteFileResolver ()

Genel yöntemler

getSupportedProtokolü

public String getSupportedProtocol ()

İndirme için desteklenen ilişkili 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ün

parametreler
args IRemoteFileResolver.RemoteFileResolverArgs : RemoteFileResolverArgs indirilecek uzaktan kumandayı ve nasıl yapılacağını açıklar.

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

Atar
BuildRetrievalError

Korumalı yöntemler

indiriciyi al

protected IHttpHelper getDownloader ()

İadeler
IHttpHelper