static class MondrianPropertiesBase.UrlPropertySource extends Object implements MondrianPropertiesBase.PropertySource
MondrianPropertiesBase.PropertySource
which reads from a
URL
.Constructor and Description |
---|
MondrianPropertiesBase.UrlPropertySource(URL url) |
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Returns the description of this source, such as a filename or URL.
|
boolean |
isStale()
Returns true if the source exists and has been modified since last
time we called
MondrianPropertiesBase.PropertySource.openStream() . |
InputStream |
openStream()
Opens an input stream from the source.
|
MondrianPropertiesBase.UrlPropertySource(URL url)
public InputStream openStream()
MondrianPropertiesBase.PropertySource
Also checks the 'last modified' time, which will determine whether
MondrianPropertiesBase.PropertySource.isStale()
returns true.
openStream
in interface MondrianPropertiesBase.PropertySource
public boolean isStale()
MondrianPropertiesBase.PropertySource
MondrianPropertiesBase.PropertySource.openStream()
.isStale
in interface MondrianPropertiesBase.PropertySource
public String getDescription()
MondrianPropertiesBase.PropertySource
getDescription
in interface MondrianPropertiesBase.PropertySource