Example usage for Java org.apache.commons.httpclient.util EncodingUtil fields, constructors, methods, implement or subclass
The text is from its open source code.
String | formUrlEncode(NameValuePair[] pairs, String charset) Form-urlencoding routine. |
byte[] | getAsciiBytes(final String data) Converts the specified string to byte array of ASCII characters. |
String | getAsciiString(final byte[] data) Converts the byte array of ASCII characters to a string. |
byte[] | getBytes(final String data, String charset) Converts the specified string to a byte array. |
String | getString(final byte[] data, int offset, int length, String charset) Converts the byte array of HTTP content characters to a string. |
String | getString(final byte[] data, String charset) Converts the byte array of HTTP content characters to a string. |