public class Utilities extends Object
| Constructor and Description |
|---|
Utilities() |
| Modifier and Type | Method and Description |
|---|---|
static int |
charLength(byte[] bytes)
Returns the number of UTF-8 characters.
|
static boolean |
isUtf8(byte[] bytes)
Validate a UTF-8 byte array.
|
static Map<String,List<String>> |
splitQuery(URL url)
Split the query string in the specified URL.
|
public static int charLength(byte[] bytes)
public static boolean isUtf8(byte[] bytes)
public static Map<String,List<String>> splitQuery(URL url) throws UnsupportedEncodingException
UnsupportedEncodingExceptionCopyright © 2015. All rights reserved.