Package org.apache.abdera.i18n.text
Class UrlEncoding
- java.lang.Object
-
- org.apache.abdera.i18n.text.UrlEncoding
-
public final class UrlEncoding extends Object
Performs URL Percent Encoding
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUrlEncoding.DecodingInputStreamstatic classUrlEncoding.DecodingReaderstatic classUrlEncoding.EncodingOutputStreamstatic classUrlEncoding.EncodingWriter
-
Field Summary
Fields Modifier and Type Field Description static char[]HEX
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Stringdecode(String e)static Stringdecode(String e, String enc)static Stringencode(byte... bytes)static Stringencode(byte[] bytes, int off, int len)static Stringencode(char... chars)static Stringencode(char[] chars, int offset, int length)static Stringencode(char[] chars, int offset, int length, String enc)static Stringencode(char[] chars, int offset, int length, String enc, Filter Filter)static Stringencode(char[] chars, int offset, int length, String enc, Filter... filters)static Stringencode(char[] chars, int offset, int length, Filter Filter)static Stringencode(char[] chars, int offset, int length, Filter... filters)static Stringencode(char[] chars, String enc)static Stringencode(char[] chars, String enc, Filter Filter)static Stringencode(char[] chars, String enc, Filter... filters)static Stringencode(char[] chars, Filter Filter)static Stringencode(char[] chars, Filter... filters)static Stringencode(InputStream in)static Stringencode(InputStream in, String charset)static Stringencode(InputStream in, String charset, String enc)static Stringencode(InputStream in, String charset, String enc, Filter Filter)static Stringencode(InputStream in, String charset, String enc, Filter... filters)static Stringencode(InputStream in, String charset, Filter Filter)static Stringencode(InputStream in, String charset, Filter... filters)static Stringencode(Reader reader)static Stringencode(Reader reader, String enc)static Stringencode(Reader reader, String enc, Filter Filter)static Stringencode(Reader reader, String enc, Filter... filters)static Stringencode(Reader reader, Filter Filter)static Stringencode(Reader reader, Filter... filters)static Stringencode(CharSequence s)static Stringencode(CharSequence s, int offset, int length)static Stringencode(CharSequence s, int offset, int length, String enc, Filter... filters)static Stringencode(CharSequence s, int offset, int length, Filter Filter)static Stringencode(CharSequence s, int offset, int length, Filter... filters)static Stringencode(CharSequence s, String enc, Filter... filters)static Stringencode(CharSequence s, Filter Filter)static Stringencode(CharSequence s, Filter... filters)static Stringencode(Readable readable)static Stringencode(Readable readable, String enc)static Stringencode(Readable readable, String enc, Filter Filter)static Stringencode(Readable readable, String enc, Filter... filters)static Stringencode(Readable readable, Filter Filter)static Stringencode(Readable readable, Filter... filters)
-
-
-
Method Detail
-
encode
public static String encode(char... chars)
-
encode
public static String encode(char[] chars, int offset, int length)
-
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
-
-