Package mondrian.olap

Interface MondrianPropertiesBase.PropertySource

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.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 openStream().
      java.io.InputStream openStream()
      Opens an input stream from the source.
    • Method Detail

      • openStream

        java.io.InputStream openStream()
        Opens an input stream from the source.

        Also checks the 'last modified' time, which will determine whether isStale() returns true.

        Returns:
        input stream
      • isStale

        boolean isStale()
        Returns true if the source exists and has been modified since last time we called openStream().
        Returns:
        whether source has changed since it was last read
      • getDescription

        java.lang.String getDescription()
        Returns the description of this source, such as a filename or URL.
        Returns:
        description of this PropertySource