org.apache.felix.bundlerepository.impl
public class RepositoryImpl extends java.lang.Object implements Repository
LOCAL, SYSTEM
Constructor and Description |
---|
RepositoryImpl() |
RepositoryImpl(Resource[] resources) |
Modifier and Type | Method and Description |
---|---|
void |
addReferral(Referral referral) |
void |
addResource(Resource resource) |
long |
getLastModified()
Return the last modification date of this repository
|
java.lang.String |
getName()
Return the name of this repository.
|
Referral[] |
getReferrals() |
Resource[] |
getResources()
Return the resources for this repository.
|
java.lang.String |
getURI()
Return the associated URL for the repository.
|
protected java.lang.Object |
put(java.lang.Object key,
java.lang.Object value)
Default setter method when setting parsed data from the XML file,
which currently ignores everything.
|
void |
setLastModified(long lastModified) |
void |
setLastModified(java.lang.String s) |
void |
setName(java.lang.String name) |
protected void |
setURI(java.lang.String uri) |
public RepositoryImpl()
public RepositoryImpl(Resource[] resources)
public java.lang.String getURI()
Repository
getURI
in interface Repository
protected void setURI(java.lang.String uri)
public Resource[] getResources()
Repository
getResources
in interface Repository
public void addResource(Resource resource)
public Referral[] getReferrals()
public void addReferral(Referral referral) throws java.lang.Exception
java.lang.Exception
public java.lang.String getName()
Repository
getName
in interface Repository
public void setName(java.lang.String name)
public long getLastModified()
Repository
getLastModified
in interface Repository
public void setLastModified(long lastModified)
public void setLastModified(java.lang.String s)
protected java.lang.Object put(java.lang.Object key, java.lang.Object value)
Copyright © 2014. All Rights Reserved.