Package com.android.repository.api
Interface FallbackRemoteRepoLoader
-
public interface FallbackRemoteRepoLoaderAn implementation of a remote repo parser to use to try to parse and xml file if the normal mechanism doesn't. If one is provided to RepoManager,parseLegacyXml(com.android.repository.api.RepositorySource, com.android.repository.api.Downloader, com.android.repository.api.SettingsController, com.android.repository.api.ProgressIndicator)will be run on every xml file retrieved from aRepositorySourcethat isn't recognized by the normal mechanism.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Collection<RemotePackage>parseLegacyXml(RepositorySource xml, Downloader downloader, SettingsController settings, ProgressIndicator progress)Parses an xml file intoRemotePackages.
-
-
-
Method Detail
-
parseLegacyXml
@Nullable java.util.Collection<RemotePackage> parseLegacyXml(@NonNull RepositorySource xml, @NonNull Downloader downloader, @Nullable SettingsController settings, @NonNull ProgressIndicator progress)
Parses an xml file intoRemotePackages.- Parameters:
xml- TheRepositorySourceto read from.- Returns:
- The parsed packages, null if none are found (due to an error).
-
-