Trình giải quyết tệp cục bộ
public class LocalFileResolver
extends Object
implements IRemoteFileResolver
java.lang.Object | |
↳ | com.android.tradefed.config.remote.LocalFileResolver |
Triển khai IRemoteFileResolver
cho phép liên kết các tệp cục bộ
Bản tóm tắt
Lĩnh vực | |
---|---|
public static final String | PROTOCOL
|
Nhà thầu xây dựng công cộng | |
---|---|
LocalFileResolver () |
Phương pháp công khai | |
---|---|
String | getSupportedProtocol () Trả về giao thức liên quan được hỗ trợ để tải xuống. |
IRemoteFileResolver.ResolvedFile | resolveRemoteFile ( IRemoteFileResolver.RemoteFileResolverArgs args) Giải quyết tệp từ xa trong giao diện phù hợp với tương lai |
Lĩnh vực
GIAO THỨC
public static final String PROTOCOL
Nhà thầu xây dựng công cộng
Trình giải quyết tệp cục bộ
public LocalFileResolver ()
Phương pháp công khai
getHỗ trợGiao thức
public String getSupportedProtocol ()
Trả về giao thức liên quan được hỗ trợ để tải xuống.
Trả lại | |
---|---|
String |
giải quyếtRemoteFile
public IRemoteFileResolver.ResolvedFile resolveRemoteFile (IRemoteFileResolver.RemoteFileResolverArgs args)
Giải quyết tệp từ xa trong giao diện phù hợp với tương lai
Thông số | |
---|---|
args | IRemoteFileResolver.RemoteFileResolverArgs : RemoteFileResolverArgs mô tả điều khiển từ xa để tải xuống và cách thực hiện. |
Trả lại | |
---|---|
IRemoteFileResolver.ResolvedFile | Biểu diễn tệp cục bộ đã được giải quyết. |
Ném | |
---|---|
BuildRetrievalError |