org.apache.abdera.i18n.text
Class UrlEncoding

java.lang.Object
  extended by org.apache.abdera.i18n.text.UrlEncoding

public final class UrlEncoding
extends Object

Performs URL Percent Encoding


Nested Class Summary
static class UrlEncoding.DecodingInputStream
           
static class UrlEncoding.DecodingReader
           
static class UrlEncoding.EncodingOutputStream
           
static class UrlEncoding.EncodingWriter
           
 
Field Summary
static char[] HEX
           
 
Method Summary
static String decode(String e)
           
static String decode(String e, String enc)
           
static String encode(byte... bytes)
           
static String encode(byte[] bytes, int off, int len)
           
static String encode(char... chars)
           
static String encode(char[] chars, Filter... filters)
           
static String encode(char[] chars, Filter Filter)
           
static String encode(char[] chars, int offset, int length)
           
static String encode(char[] chars, int offset, int length, Filter... filters)
           
static String encode(char[] chars, int offset, int length, Filter Filter)
           
static String encode(char[] chars, int offset, int length, String enc)
           
static String encode(char[] chars, int offset, int length, String enc, Filter... filters)
           
static String encode(char[] chars, int offset, int length, String enc, Filter Filter)
           
static String encode(char[] chars, String enc)
           
static String encode(char[] chars, String enc, Filter... filters)
           
static String encode(char[] chars, String enc, Filter Filter)
           
static String encode(CharSequence s)
           
static String encode(CharSequence s, Filter... filters)
           
static String encode(CharSequence s, Filter Filter)
           
static String encode(CharSequence s, int offset, int length)
           
static String encode(CharSequence s, int offset, int length, Filter... filters)
           
static String encode(CharSequence s, int offset, int length, Filter Filter)
           
static String encode(CharSequence s, int offset, int length, String enc, Filter... filters)
           
static String encode(CharSequence s, String enc, Filter... filters)
           
static String encode(InputStream in)
           
static String encode(InputStream in, String charset)
           
static String encode(InputStream in, String charset, Filter... filters)
           
static String encode(InputStream in, String charset, Filter Filter)
           
static String encode(InputStream in, String charset, String enc)
           
static String encode(InputStream in, String charset, String enc, Filter... filters)
           
static String encode(InputStream in, String charset, String enc, Filter Filter)
           
static String encode(Readable readable)
           
static String encode(Readable readable, Filter... filters)
           
static String encode(Readable readable, Filter Filter)
           
static String encode(Readable readable, String enc)
           
static String encode(Readable readable, String enc, Filter... filters)
           
static String encode(Readable readable, String enc, Filter Filter)
           
static String encode(Reader reader)
           
static String encode(Reader reader, Filter... filters)
           
static String encode(Reader reader, Filter Filter)
           
static String encode(Reader reader, String enc)
           
static String encode(Reader reader, String enc, Filter... filters)
           
static String encode(Reader reader, String enc, Filter Filter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HEX

public static final char[] HEX
Method Detail

encode

public static String encode(char... chars)

encode

public static String encode(char[] chars,
                            Filter Filter)

encode

public static String encode(char[] chars,
                            Filter... filters)

encode

public static String encode(char[] chars,
                            String enc)

encode

public static String encode(char[] chars,
                            String enc,
                            Filter Filter)

encode

public static String encode(char[] chars,
                            String enc,
                            Filter... filters)

encode

public static String encode(char[] chars,
                            int offset,
                            int length)

encode

public static String encode(char[] chars,
                            int offset,
                            int length,
                            String enc)

encode

public static String encode(char[] chars,
                            int offset,
                            int length,
                            Filter Filter)

encode

public static String encode(char[] chars,
                            int offset,
                            int length,
                            Filter... filters)

encode

public static String encode(char[] chars,
                            int offset,
                            int length,
                            String enc,
                            Filter Filter)

encode

public static String encode(char[] chars,
                            int offset,
                            int length,
                            String enc,
                            Filter... filters)

encode

public static String encode(InputStream in)
                     throws IOException
Throws:
IOException

encode

public static String encode(InputStream in,
                            String charset)
                     throws IOException
Throws:
IOException

encode

public static String encode(InputStream in,
                            String charset,
                            Filter Filter)
                     throws IOException
Throws:
IOException

encode

public static String encode(InputStream in,
                            String charset,
                            String enc)
                     throws IOException
Throws:
IOException

encode

public static String encode(InputStream in,
                            String charset,
                            String enc,
                            Filter Filter)
                     throws IOException
Throws:
IOException

encode

public static String encode(InputStream in,
                            String charset,
                            String enc,
                            Filter... filters)
                     throws IOException
Throws:
IOException

encode

public static String encode(InputStream in,
                            String charset,
                            Filter... filters)
                     throws IOException
Throws:
IOException

encode

public static String encode(Reader reader)
                     throws IOException
Throws:
IOException

encode

public static String encode(Readable readable)
                     throws IOException
Throws:
IOException

encode

public static String encode(Reader reader,
                            String enc)
                     throws IOException
Throws:
IOException

encode

public static String encode(Readable readable,
                            String enc)
                     throws IOException
Throws:
IOException

encode

public static String encode(Reader reader,
                            String enc,
                            Filter Filter)
                     throws IOException
Throws:
IOException

encode

public static String encode(Reader reader,
                            Filter Filter)
                     throws IOException
Throws:
IOException

encode

public static String encode(Reader reader,
                            Filter... filters)
                     throws IOException
Throws:
IOException

encode

public static String encode(Readable readable,
                            String enc,
                            Filter Filter)
                     throws IOException
Throws:
IOException

encode

public static String encode(Readable readable,
                            Filter Filter)
                     throws IOException
Throws:
IOException

encode

public static String encode(Readable readable,
                            Filter... filters)
                     throws IOException
Throws:
IOException

encode

public static String encode(Readable readable,
                            String enc,
                            Filter... filters)
                     throws IOException
Throws:
IOException

encode

public static String encode(Reader reader,
                            String enc,
                            Filter... filters)
                     throws IOException
Throws:
IOException

encode

public static String encode(byte... bytes)

encode

public static String encode(byte[] bytes,
                            int off,
                            int len)

encode

public static String encode(CharSequence s)

encode

public static String encode(CharSequence s,
                            Filter Filter)

encode

public static String encode(CharSequence s,
                            Filter... filters)

encode

public static String encode(CharSequence s,
                            int offset,
                            int length)

encode

public static String encode(CharSequence s,
                            int offset,
                            int length,
                            Filter Filter)

encode

public static String encode(CharSequence s,
                            int offset,
                            int length,
                            Filter... filters)

encode

public static String encode(CharSequence s,
                            int offset,
                            int length,
                            String enc,
                            Filter... filters)
                     throws UnsupportedEncodingException
Throws:
UnsupportedEncodingException

encode

public static String encode(CharSequence s,
                            String enc,
                            Filter... filters)
                     throws UnsupportedEncodingException
Throws:
UnsupportedEncodingException

decode

public static String decode(String e,
                            String enc)
                     throws UnsupportedEncodingException
Throws:
UnsupportedEncodingException

decode

public static String decode(String e)


Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.