public class CodeSetConversion extends Object
Modifier and Type | Class and Description |
---|---|
static class |
CodeSetConversion.BTCConverter
Abstraction for byte to char conversion.
|
static class |
CodeSetConversion.CTBConverter
Abstraction for char to byte conversion.
|
Modifier and Type | Method and Description |
---|---|
CodeSetConversion.BTCConverter |
getBTCConverter(OSFCodeSetRegistry.Entry codeset)
BTCConverter factory for single byte or variable width encodings.
|
CodeSetConversion.BTCConverter |
getBTCConverter(OSFCodeSetRegistry.Entry codeset,
boolean defaultToLittleEndian)
BTCConverter factory for fixed width multibyte encodings.
|
CodeSetConversion.CTBConverter |
getCTBConverter(OSFCodeSetRegistry.Entry codeset)
CTB converter factory for single byte or variable length encodings.
|
CodeSetConversion.CTBConverter |
getCTBConverter(OSFCodeSetRegistry.Entry codeset,
boolean littleEndian,
boolean useByteOrderMarkers)
CTB converter factory for multibyte (mainly fixed) encodings.
|
static CodeSetConversion |
impl()
CodeSetConversion is a singleton, and this is the access point.
|
CodeSetComponentInfo.CodeSetContext |
negotiate(CodeSetComponentInfo client,
CodeSetComponentInfo server)
Perform the code set negotiation algorithm and come up with
the two encodings to use.
|
public CodeSetConversion.CTBConverter getCTBConverter(OSFCodeSetRegistry.Entry codeset)
public CodeSetConversion.CTBConverter getCTBConverter(OSFCodeSetRegistry.Entry codeset, boolean littleEndian, boolean useByteOrderMarkers)
public CodeSetConversion.BTCConverter getBTCConverter(OSFCodeSetRegistry.Entry codeset)
public CodeSetConversion.BTCConverter getBTCConverter(OSFCodeSetRegistry.Entry codeset, boolean defaultToLittleEndian)
public CodeSetComponentInfo.CodeSetContext negotiate(CodeSetComponentInfo client, CodeSetComponentInfo server)
public static final CodeSetConversion impl()
Copyright © 2021 JBoss by Red Hat. All rights reserved.