Repositorypublic class RepositoryImpl extends Object implements Repository
LOCAL, SYSTEM| Constructor | Description |
|---|---|
RepositoryImpl() |
|
RepositoryImpl(Resource[] resources) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
addReferral(Referral referral) |
|
void |
addResource(Resource resource) |
|
long |
getLastModified() |
Return the last modification date of this repository
|
String |
getName() |
Return the name of this repository.
|
Referral[] |
getReferrals() |
|
Resource[] |
getResources() |
Return the resources for this repository.
|
String |
getURI() |
Return the associated URL for the repository.
|
protected Object |
put(Object key,
Object value) |
Default setter method when setting parsed data from the XML file,
which currently ignores everything.
|
void |
setLastModified(long lastModified) |
|
void |
setLastModified(String s) |
|
void |
setName(String name) |
|
protected void |
setURI(String uri) |
public RepositoryImpl()
public RepositoryImpl(Resource[] resources)
public String getURI()
RepositorygetURI in interface Repositoryprotected void setURI(String uri)
public Resource[] getResources()
RepositorygetResources in interface Repositorypublic void addResource(Resource resource)
public Referral[] getReferrals()
public String getName()
RepositorygetName in interface Repositorypublic void setName(String name)
public long getLastModified()
RepositorygetLastModified in interface Repositorypublic void setLastModified(long lastModified)
public void setLastModified(String s)
Copyright © 2018. All rights reserved.