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()
RepositorygetURI in interface Repositoryprotected void setURI(java.lang.String uri)
public Resource[] getResources()
RepositorygetResources in interface Repositorypublic void addResource(Resource resource)
public Referral[] getReferrals()
public void addReferral(Referral referral) throws java.lang.Exception
java.lang.Exceptionpublic java.lang.String getName()
RepositorygetName in interface Repositorypublic void setName(java.lang.String name)
public long getLastModified()
RepositorygetLastModified in interface Repositorypublic 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 © 2006-2017 The Apache Software Foundation. All Rights Reserved.