com.atlassian.bamboo.pageobjects.utils
Class WebDriverUrlUtils

java.lang.Object
  extended by com.atlassian.bamboo.pageobjects.utils.WebDriverUrlUtils

public class WebDriverUrlUtils
extends java.lang.Object


Constructor Summary
WebDriverUrlUtils()
           
 
Method Summary
static aQute.lib.collections.MultiMap<java.lang.String,java.lang.String> getParameterMap(java.lang.String url)
           
static java.lang.String getParamString(java.lang.String url, java.lang.String paramName)
          Util method to retrieve a url param.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebDriverUrlUtils

public WebDriverUrlUtils()
Method Detail

getParamString

public static java.lang.String getParamString(java.lang.String url,
                                              java.lang.String paramName)
Util method to retrieve a url param. Assumes there will only be one instance of the param defined in the URL.

Parameters:
url - to parse param from
paramName - the name of the param to retrieve
Returns:
the value of the param, or null if non-existent or errors in parsing.

getParameterMap

public static aQute.lib.collections.MultiMap<java.lang.String,java.lang.String> getParameterMap(java.lang.String url)


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.