public class URLCodec extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static BitSet |
UNRESERVED
http://tools.ietf.org/html/rfc3986#section-2
|
protected static Charset |
UTF_8 |
| Constructor and Description |
|---|
URLCodec() |
| Modifier and Type | Method and Description |
|---|---|
static CharSequence |
decode(CharSequence in) |
static void |
decode(CharSequence in,
Appendable out)
Convenience method for
decode(CharSequence, Charset, Appendable). |
static void |
decode(CharSequence in,
Charset charset,
Appendable out) |
static void |
decode(CharSequence in,
OutputStream out) |
static byte[] |
decodeToBytes(CharSequence in)
Convenience method for
decode(CharSequence, OutputStream). |
static void |
encode(ByteBuffer in,
Appendable out) |
static CharSequence |
encode(CharSequence in)
Convenience method for
encode(CharSequence, Appendable). |
static void |
encode(CharSequence in,
Appendable out)
Convenience method for
encode(CharSequence, Charset, Appendable). |
static void |
encode(CharSequence in,
Charset charset,
Appendable out) |
protected static final BitSet UNRESERVED
protected static final Charset UTF_8
public static CharSequence encode(CharSequence in) throws IOException
encode(CharSequence, Appendable).IOExceptionpublic static void encode(CharSequence in, Appendable out) throws IOException
encode(CharSequence, Charset, Appendable).IOExceptionpublic static void encode(CharSequence in, Charset charset, Appendable out) throws IOException
IOExceptionpublic static void encode(ByteBuffer in, Appendable out) throws IOException
IOExceptionpublic static CharSequence decode(CharSequence in) throws IOException
IOExceptionpublic static void decode(CharSequence in, Appendable out) throws IOException
decode(CharSequence, Charset, Appendable).IOExceptionpublic static void decode(CharSequence in, Charset charset, Appendable out) throws IOException
IOExceptionpublic static byte[] decodeToBytes(CharSequence in) throws IOException
decode(CharSequence, OutputStream).IOExceptionpublic static void decode(CharSequence in, OutputStream out) throws IOException
IOExceptionCopyright © 2012-2015 Cloudhopper by Twitter. All Rights Reserved.