public interface IStringCodec extends ICodec
| Modifier and Type | Method and Description |
|---|---|
String |
decodeText(String sEncoded)
Decode the passed string.
|
String |
encodeText(String sDecoded)
Encode the passed string.
|
Charset |
getCharset()
Gets the default charset name used for string decoding and encoding.
|
encodedecode@Nonnull Charset getCharset()
null.@Nullable String encodeText(@Nullable String sDecoded)
sDecoded - The string to be encoded. May be null.null if the input string is null.EncoderException - In case something goes wrong@Nullable String decodeText(@Nullable String sEncoded)
sEncoded - The string to be decoded. May be null.null if the input string is null.DecoderException - in case something goes wrongCopyright © 2006–2015 phloc systems. All rights reserved.