org.javaswift.joss.util
Class SpaceURLEncoder

java.lang.Object
  extended by org.javaswift.joss.util.SpaceURLEncoder

public class SpaceURLEncoder
extends Object

The purpose of this class is to supplement URLEncode.encode with the option to convert '+' into %20. See also: http://stackoverflow.com/questions/4737841/urlencoder-not-able-to-translate-space-character

Author:
Robert Bor

Constructor Summary
SpaceURLEncoder()
           
 
Method Summary
static String encode(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpaceURLEncoder

public SpaceURLEncoder()
Method Detail

encode

public static String encode(String value)
                     throws UnsupportedEncodingException
Throws:
UnsupportedEncodingException


Copyright © 2012-2014 42 BV. All Rights Reserved.