|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.android.repository.api.RemoteListSourceProvider
public abstract class RemoteListSourceProvider
An RepositorySourceProvider that retrieves RepositorySources from a remote
location.
| Nested Class Summary | |
|---|---|
static interface |
RemoteListSourceProvider.GenericSite
|
| Constructor Summary | |
|---|---|
RemoteListSourceProvider()
|
|
| Method Summary | |
|---|---|
static RemoteListSourceProvider |
create(java.lang.String url,
SchemaModule sourceListModule,
java.util.Map<java.lang.Class<? extends RepositorySource>,java.util.Collection<SchemaModule>> permittedSchemaModules)
Creates a new provider. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.android.repository.api.RepositorySourceProvider |
|---|
addSource, getSources, isModifiable, removeSource, save |
| Constructor Detail |
|---|
public RemoteListSourceProvider()
| Method Detail |
|---|
@NonNull
public static RemoteListSourceProvider create(@NonNull
java.lang.String url,
@Nullable
SchemaModule sourceListModule,
@NonNull
java.util.Map<java.lang.Class<? extends RepositorySource>,java.util.Collection<SchemaModule>> permittedSchemaModules)
throws java.net.URISyntaxException
url - The URL to download from.sourceListModule - Extension to the common source list schema, if any, used to
parse the downloaded xml.permittedSchemaModules - The SchemaModules that are allowed to be used by the
RepositorySources created by this provider, depending
on the actual type of site.
java.net.URISyntaxException - If url is invalid.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||