public interface StringCodecService
StringCodec
instances for certain encodings, possibly customized for a certain locale.Modifier and Type | Interface and Description |
---|---|
static class |
StringCodecService.Encoding |
Modifier and Type | Method and Description |
---|---|
StringCodec |
getStringCodec(StringCodecService.Encoding encoding)
Returns the default string codec for a certain encoding.
|
StringCodec |
getStringCodec(StringCodecService.Encoding encoding,
String locale)
Returns the string codec for a certain encoding that is best suited for the given locale.
|
StringCodec getStringCodec(StringCodecService.Encoding encoding)
getStringCodec(Encoding, String)
with a null locale.encoding
- the type of encodingStringCodec getStringCodec(StringCodecService.Encoding encoding, String locale)
encoding
- the type of encodinglocale
- the locale the string codec will be used for. Can be null.Copyright © 2007–2019 Hippo B.V. (http://www.onehippo.com). All rights reserved.