org.jboss.portal.common.text
Class FastURLDecoder
java.lang.Object
org.jboss.portal.common.text.FastURLDecoder
- All Implemented Interfaces:
- CharEncoder
public class FastURLDecoder
- extends java.lang.Object
- implements CharEncoder
- Version:
- $Revision: 1.1 $
- Author:
- Julien Viet
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FastURLDecoder
public FastURLDecoder(CharToByteEncoder encoder)
FastURLDecoder
public FastURLDecoder(CharToByteEncoder encoder,
boolean strict)
getUTF8Instance
public static FastURLDecoder getUTF8Instance()
getUTF8StrictInstance
public static FastURLDecoder getUTF8StrictInstance()
encode
public void encode(char c,
CharWriter writer)
- Specified by:
encode
in interface CharEncoder
encode
public void encode(char[] chars,
int off,
int len,
CharWriter writer)
- Specified by:
encode
in interface CharEncoder
encode
public void encode(char[] chars,
CharWriter writer)
- Specified by:
encode
in interface CharEncoder
encode
public void encode(java.lang.CharSequence s,
CharWriter writer)
- Specified by:
encode
in interface CharEncoder
encode
public java.lang.String encode(java.lang.String s)
throws java.lang.IllegalArgumentException
- Parameters:
s
-
- Returns:
-
- Throws:
java.lang.IllegalArgumentException
- Since:
- 1.1
isStrict
public boolean isStrict()