站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.4 API 英文版文档

Application_XWWWFormURLEncodedFormat - JBOSS Portal 2.4 API 英文版文档


org.jboss.portal.common.net
Class Application_XWWWFormURLEncodedFormat

java.lang.Object
  extended byorg.jboss.portal.common.net.Application_XWWWFormURLEncodedFormat

public class Application_XWWWFormURLEncodedFormat
extends java.lang.Object

Provide fast encoding to the application/x-www-form-urlencoded MIME format for a specified charset.


Field Summary
static Application_XWWWFormURLEncodedFormat UTF_8
           
 
Constructor Summary
Application_XWWWFormURLEncodedFormat(java.lang.String charset)
           
 
Method Summary
 java.lang.String encode(char c)
           
 void encode(char c, java.lang.StringBuffer sb)
           
 java.lang.String encode(java.lang.String s)
           
 java.lang.String encode(java.lang.String s, int from, int to)
           
 void encode(java.lang.String s, int from, int to, java.lang.StringBuffer sb)
           
 void encode(java.lang.String s, java.lang.StringBuffer sb)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UTF_8

public static final Application_XWWWFormURLEncodedFormat UTF_8
Constructor Detail

Application_XWWWFormURLEncodedFormat

public Application_XWWWFormURLEncodedFormat(java.lang.String charset)
                                     throws java.io.IOException
Method Detail

encode

public void encode(char c,
                   java.lang.StringBuffer sb)

encode

public void encode(java.lang.String s,
                   java.lang.StringBuffer sb)

encode

public void encode(java.lang.String s,
                   int from,
                   int to,
                   java.lang.StringBuffer sb)

encode

public java.lang.String encode(char c)

encode

public java.lang.String encode(java.lang.String s,
                               int from,
                               int to)

encode

public java.lang.String encode(java.lang.String s)