mondrian.server
Class UrlRepositoryContentFinder

java.lang.Object
  extended by mondrian.server.UrlRepositoryContentFinder
All Implemented Interfaces:
RepositoryContentFinder
Direct Known Subclasses:
DynamicContentFinder

public class UrlRepositoryContentFinder
extends 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
protected  String url
           
 
Constructor Summary
UrlRepositoryContentFinder(String url)
          Creates a UrlRepositoryContentFinder.
 
Method Summary
 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 String url
Constructor Detail

UrlRepositoryContentFinder

public UrlRepositoryContentFinder(String url)
Creates a UrlRepositoryContentFinder.

Parameters:
url - URL of repository
Method Detail

getContent

public String getContent()
Specified by:
getContent in interface RepositoryContentFinder

shutdown

public void shutdown()
Specified by:
shutdown in interface RepositoryContentFinder

Get Mondrian at SourceForge.net. Fast, secure and free Open Source software downloads