Package io.vertigo.commons.codec
Interface Codec<S,T>
- Type Parameters:
S- Type Source à encoderT- Type cible, résultat de l'encodage
- All Superinterfaces:
Encoder<S,T>
- All Known Implementing Classes:
Base64LegacyCodec,Base64UrlCodec,CompressedSerializationCodec,CompressionCodec,CryptoCodec,HtmlCodec,SerializationCodec
Utilitaire permettant de passer d'un format à un autre format.
- format source > encodage > format cible
- format cible > décodage > format source.
Les codecs sont nécessairements bijectifs à contrario des encoders.
- Author:
- pchretien
-
Method Summary
-
Method Details
-
decode
Décodage.- Parameters:
encoded- Chaîne encodée- Returns:
- Objet décodé
-