Package mondrian.olap
Interface MondrianPropertiesBase.PropertySource
- Enclosing class:
- MondrianPropertiesBase
public static interface MondrianPropertiesBase.PropertySource
Represents a place that properties can be read from, and remembers the
 timestamp that we last read them.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the description of this source, such as a filename or URL.booleanisStale()Returns true if the source exists and has been modified since last time we calledopenStream().Opens an input stream from the source.
- 
Method Details- 
openStreamInputStream openStream()Opens an input stream from the source.Also checks the 'last modified' time, which will determine whether isStale()returns true.- Returns:
- input stream
 
- 
isStaleboolean isStale()Returns true if the source exists and has been modified since last time we calledopenStream().- Returns:
- whether source has changed since it was last read
 
- 
getDescriptionString getDescription()Returns the description of this source, such as a filename or URL.- Returns:
- description of this PropertySource
 
 
-