tot.util
类 Encoder

java.lang.Object
  继承者 tot.util.Encoder

public class Encoder
extends java.lang.Object


方法摘要
static java.lang.String decodeURL(java.lang.String input)
          This method just call URLDecoder.decode() with the default encoding UTF-8
static java.lang.String encodeURL(java.lang.String input)
          This method just call URLEncoder.encode() with the default encoding is UTF-8
static java.lang.String getBase64(java.lang.String input)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

方法详细信息

getBase64

public static java.lang.String getBase64(java.lang.String input)

encodeURL

public static java.lang.String encodeURL(java.lang.String input)
This method just call URLEncoder.encode() with the default encoding is UTF-8

参数:
input - String
返回:
String

decodeURL

public static java.lang.String decodeURL(java.lang.String input)
This method just call URLDecoder.decode() with the default encoding UTF-8

参数:
input - String
返回:
String