|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmondrian.olap.MondrianProperties.UrlPropertySource
static class MondrianProperties.UrlPropertySource
Implementation of MondrianProperties.PropertySource which reads from a URL.
| Constructor Summary | |
|---|---|
MondrianProperties.UrlPropertySource(URL url)
|
|
| Method Summary | |
|---|---|
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 MondrianProperties.PropertySource.openStream(). |
InputStream |
openStream()
Opens an input stream from the source. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
MondrianProperties.UrlPropertySource(URL url)
| Method Detail |
|---|
public InputStream openStream()
MondrianProperties.PropertySourceAlso checks the 'last modified' time, which will determine whether
MondrianProperties.PropertySource.isStale() returns true.
openStream in interface MondrianProperties.PropertySourcepublic boolean isStale()
MondrianProperties.PropertySourceMondrianProperties.PropertySource.openStream().
isStale in interface MondrianProperties.PropertySourcepublic String getDescription()
MondrianProperties.PropertySource
getDescription in interface MondrianProperties.PropertySource
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||