com.atlassian.gadgets.util
Interface UrlBuilder

All Known Subinterfaces:
DashboardUrlBuilder
All Known Implementing Classes:
AbstractUrlBuilder, DashboardUrlBuilderImpl, DirectoryUrlBuilderImpl, GadgetUrlBuilder

public interface UrlBuilder

Builds URLs to resources.


Method Summary
 String buildImageUrl(String path)
          Returns the URL to the image specified by the given path.
 String buildRpcJsUrl()
          Returns the URL to the RPC javascript file.
 

Method Detail

buildRpcJsUrl

String buildRpcJsUrl()
Returns the URL to the RPC javascript file.

Returns:
the URL to the RPC javascript file

buildImageUrl

String buildImageUrl(String path)
Returns the URL to the image specified by the given path.

Parameters:
path - path to the image
Returns:
URL to the image specified by the given path.


Copyright © 2009 Atlassian. All Rights Reserved.