public class PercentDecoder extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
PercentDecoder()
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
decode(byte[] input)
Decodes given
input. |
static void |
decode(InputStream input,
OutputStream output)
Decodes characters from
input and writes those decoded bytes to
output. |
static void |
decode(Reader input,
OutputStream output)
Decodes characters from
input and writes those decoded bytes to
output. |
static byte[] |
decode(String input)
Decodes given
input. |
public static byte[] decode(String input) throws IOException
input.input - input to decodeIOException - if an I/O error occurspublic static byte[] decode(byte[] input)
throws IOException
input.input - input to decodeIOException - if an I/O error occurspublic static void decode(InputStream input, OutputStream output) throws IOException
input and writes those decoded bytes to
output.input - character inputoutput - byte outputIOException - if an I/O error occurs.public static void decode(Reader input, OutputStream output) throws IOException
input and writes those decoded bytes to
output.input - character inputoutput - byte outputIOException - if an I/O error occurs.Copyright © 2011-2012. All Rights Reserved.