public class RdfNamespaceRegistry extends AutoReloadingConfiguration
configPath
Constructor and Description |
---|
RdfNamespaceRegistry() |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getNamespaces()
Get the mapping of namespace prefixes to URIs
|
protected void |
loadConfiguration()
Load the namespace prefix to URI configuration file
|
void |
setNamespaces(Map<String,String> namespaces)
Set the mapping of namespace prefixes to URIs
|
init, setConfigPath, setMonitorForChanges, shutdown
public RdfNamespaceRegistry()
protected void loadConfiguration() throws IOException
loadConfiguration
in class AutoReloadingConfiguration
IOException
- thrown if the configuration cannot be loaded.public Map<String,String> getNamespaces()
public void setNamespaces(Map<String,String> namespaces)
namespaces
- mapping of namespacesCopyright © 2013–2018 DuraSpace, Inc.. All rights reserved.