public interface StringEncoder extends Encoder
Modifier and Type | Method and Description |
---|---|
String |
encode(String source)
Encodes a String and returns a String.
|
String encode(String source) throws EncoderException
source
- the String to encodeEncoderException
- thrown if there is an error condition during the encoding process.