public class URLDecoder
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static int |
decode(java.io.InputStream is,
java.lang.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(java.io.InputStream is,
java.lang.StringBuilder sb)
throws java.io.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.java.io.IOException - if an I/O error occurred reading is.