public abstract class CharactersetEncoder extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CharactersetEncoder.EncodedChars
A container for encoded character bytes
|
| Modifier and Type | Method and Description |
|---|---|
static CharactersetEncoder.EncodedChars |
encodeSBCS(CharSequence chars,
String encoding)
Encodes
chars into a format specified by encoding. |
public static CharactersetEncoder.EncodedChars encodeSBCS(CharSequence chars, String encoding) throws CharacterCodingException
chars into a format specified by encoding.chars - the character sequenceencoding - the encoding typeCharacterCodingException - if encoding failsCopyright © 2025 Apache Software Foundation. All rights reserved.