com.mysema.commons.lang
Class URLEncoder

java.lang.Object
  extended by com.mysema.commons.lang.URLEncoder

public final class URLEncoder
extends Object

URLEncoder provides URL encoding functionality

Author:
tiwe

Method Summary
static String encodeParam(String s, String enc)
          Translates a string into application/x-www-form-urlencoded format.
static String encodeURL(String s)
          Translates an URL string into URL safe form
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

encodeParam

public static String encodeParam(String s,
                                 String enc)
Translates a string into application/x-www-form-urlencoded format.


encodeURL

public static String encodeURL(String s)
Translates an URL string into URL safe form

Parameters:
s -
Returns:


Copyright © 2008-2012 Mysema Ltd. All Rights Reserved.