public final class UrlDecoder extends Object
Modifier and Type | Method and Description |
---|---|
static int |
decode(InputStream is,
StringBuilder sb)
Returns the character from the stream, which encode as "%ab" (single byte UTF-8) or "%ab%cd" (two byte ).
|
public static int decode(InputStream is, StringBuilder sb) throws IOException
StringBuilder
and the tail surrogate is returned. If the code doesn't denote a surrogate pair
(value is less than 0xFFFF) simply return it.is
- the InputStream
.sb
- the StringBuilder
.IOException
- if an I/O error occurred reading is
.