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
CharacterCodingException
public static String convertToString(byte[] bytes, String encoding) throws UnsupportedEncodingException
UnsupportedEncodingException
Copyright © 1998–2016 iText Group NV. All rights reserved.