org.apache.pluto.services.information
Interface ResourceURLProvider


public interface ResourceURLProvider


Method Summary
 void setAbsoluteURL(java.lang.String path)
          Sets the absolute URL to be returned by the provider.
 void setFullPath(java.lang.String path)
          Sets a full path URI including the context root.
 java.lang.String toString()
          Returns a url to a resource as absolute URL starting with protocol so that it can be accessed by a browser.
 

Method Detail

setAbsoluteURL

void setAbsoluteURL(java.lang.String path)
Sets the absolute URL to be returned by the provider. E.g. http://host/wps/portal/hello.gif

Parameters:
path - the new absolute url

setFullPath

void setFullPath(java.lang.String path)
Sets a full path URI including the context root. E.g. /wps/portal/hello.gif

Parameters:
path - the new absolute url

toString

java.lang.String toString()
Returns a url to a resource as absolute URL starting with protocol so that it can be accessed by a browser.

Overrides:
toString in class java.lang.Object
Returns:
the URL as string


Copyright © 2003-2009 . All Rights Reserved.