public final class EncodingUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
convertToBytes(char[] chars,
String encoding) |
static String |
convertToString(byte[] bytes,
String encoding) |
public static byte[] convertToBytes(char[] chars,
String encoding)
throws CharacterCodingException
CharacterCodingExceptionpublic static String convertToString(byte[] bytes, String encoding) throws UnsupportedEncodingException
UnsupportedEncodingExceptionCopyright © 1998–2017 iText Group NV. All rights reserved.