org.kuali.rice.kns.util
Class UrlFactory

java.lang.Object
  extended by org.kuali.rice.kns.util.UrlFactory

public class UrlFactory
extends Object

This class Provides utility methods for re/building URLs.


Field Summary
private static org.apache.log4j.Logger LOG
           
private static org.apache.commons.codec.net.URLCodec urlCodec
          Creates a new URL by taking the given URL and appending the parameter names and values from the given Properties instance to it.
 
Constructor Summary
UrlFactory()
           
 
Method Summary
static String encode(String value)
           
static String parameterizeUrl(String baseUrl, Properties params)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

private static org.apache.log4j.Logger LOG

urlCodec

private static org.apache.commons.codec.net.URLCodec urlCodec
Creates a new URL by taking the given URL and appending the parameter names and values from the given Properties instance to it. Note: parameter names must be non-blank; parameter values must be non-null.

Constructor Detail

UrlFactory

public UrlFactory()
Method Detail

parameterizeUrl

public static String parameterizeUrl(String baseUrl,
                                     Properties params)

encode

public static String encode(String value)


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.