Class UrlRepositoryContentFinder

  • All Implemented Interfaces:
    RepositoryContentFinder
    Direct Known Subclasses:
    DynamicContentFinder

    public class UrlRepositoryContentFinder
    extends java.lang.Object
    implements RepositoryContentFinder
    Implementation of RepositoryContentFinder that reads from a URL.

    The URL might be a string representation of a URL, such as 'file:/foo/bar/datasources.xml' or 'http://server/datasources.xml', but it might also be the mondrian-specific URL format 'inline:...'. The content of an inline URL is the rest of the string after the 'inline:' prefix.

    Author:
    Julian Hyde
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String url  
    • Constructor Summary

      Constructors 
      Constructor Description
      UrlRepositoryContentFinder​(java.lang.String url)
      Creates a UrlRepositoryContentFinder.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getContent()  
      void shutdown()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • url

        protected final java.lang.String url
    • Constructor Detail

      • UrlRepositoryContentFinder

        public UrlRepositoryContentFinder​(java.lang.String url)
        Creates a UrlRepositoryContentFinder.
        Parameters:
        url - URL of repository