public interface FallbackRemoteRepoLoader
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 a RepositorySource that isn't recognized by
the normal mechanism.| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<RemotePackage> |
parseLegacyXml(RepositorySource xml,
Downloader downloader,
SettingsController settings,
ProgressIndicator progress)
Parses an xml file into
RemotePackages. |
@Nullable java.util.Collection<RemotePackage> parseLegacyXml(@NonNull RepositorySource xml, @NonNull Downloader downloader, @NonNull SettingsController settings, @NonNull ProgressIndicator progress)
RemotePackages.xml - The RepositorySource to read from.