org.osgi.impl.bundle.obr.resource
public class RepositoryImpl extends Object implements Repository
Version: $Revision: 44 $
| Constructor Summary | |
|---|---|
| RepositoryImpl(URL url)
Each repository is identified by a single URL.
| |
| Method Summary | |
|---|---|
| long | getLastModified() |
| String | getName() |
| int | getRanking() |
| Resource | getResource(String id) |
| Collection | getResourceList() |
| Resource[] | getResources() |
| URL | getURL() |
| boolean | refresh()
Refresh the repository from the URL.
|
| void | setRanking(int ranking) |
Parameters: url
Returns:
Throws: Exception