public class AndroidRepositories
extends java.lang.Object
save()
is called.| Modifier and Type | Method and Description |
|---|---|
void |
addRepository(java.lang.String friendlyName,
java.net.URL url) |
static java.io.File |
getRepositoriesFile()
The location of the repositories configuration file used by the Android SDK tools.
|
static AndroidRepositories |
load()
Loads the configuration properties file from disk.
|
void |
save()
Writes updates to the file on disk.
|
public static AndroidRepositories load() throws AndroidRepositoryException
AndroidRepositoryException - if something goes wrong finding or reading the config
file on disk.public void save()
throws AndroidRepositoryException
AndroidRepositoryException - if unable to write the update.public void addRepository(java.lang.String friendlyName,
java.net.URL url)
throws AndroidRepositoryException
AndroidRepositoryExceptionpublic static java.io.File getRepositoriesFile()
throws AndroidRepositoryException
AndroidRepositoryException - if unable to determine its location.