panda.codec.StringEncoder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of panda-core Show documentation
Show all versions of panda-core Show documentation
Panda Core is the core module of Panda Framework, it contains commonly used utility classes similar to apache-commons.
package panda.codec;
/**
* Defines common encoding methods for String encoders.
*/
public interface StringEncoder extends Encoder {
/**
* Encodes a String and returns a String.
*
* @param source the String to encode
* @return the encoded String
* @throws EncoderException thrown if there is an error condition during the encoding process.
*/
String encode(String source) throws EncoderException;
}