Package mondrian.server
Class UrlRepositoryContentFinder
- java.lang.Object
-
- mondrian.server.UrlRepositoryContentFinder
-
- All Implemented Interfaces:
RepositoryContentFinder
- Direct Known Subclasses:
DynamicContentFinder
public class UrlRepositoryContentFinder extends Object implements RepositoryContentFinder
Implementation ofRepositoryContentFinder
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
-
-
Constructor Summary
Constructors Constructor Description UrlRepositoryContentFinder(String url)
Creates a UrlRepositoryContentFinder.
-
-
-
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 interfaceRepositoryContentFinder
-
shutdown
public void shutdown()
- Specified by:
shutdown
in interfaceRepositoryContentFinder
-
-