public class RibbonConfigurationSource extends Object
Modifier and Type | Field and Description |
---|---|
(package private) Long |
_lastModified |
(package private) Source |
_source |
(package private) String |
_uri |
Constructor and Description |
---|
RibbonConfigurationSource(String uri,
Source source,
Map<String,Object> returnedParameters)
Constructor
|
Modifier and Type | Method and Description |
---|---|
static RibbonConfigurationSource |
createFromUri(String uri,
SourceResolver resolver)
Create a new ribbon configuration source
|
Configuration |
getConfiguration()
build the configuration from the source
|
Long |
getLastModified()
Get the last modified date
|
Source |
getSource()
Get the source
|
String |
getUri()
Get the ribbon configuration URI
|
public static RibbonConfigurationSource createFromUri(String uri, SourceResolver resolver) throws IOException
uri
- The uriresolver
- The source resolverIOException
- If an error occurred when resolving the URIpublic Long getLastModified()
public Configuration getConfiguration() throws ConfigurationException, SAXException, IOException
ConfigurationException
- If an error occurredSAXException
- If an error occurredIOException
- If an error occurred