Search in sources :

Example 1 with Decoder

use of org.grails.encoder.Decoder in project grails-core by grails.

the class BasicCodecLookup method registerCodecFactory.

public void registerCodecFactory(CodecFactory codecFactory) {
    Encoder encoder = codecFactory.getEncoder();
    if (encoder != null) {
        registerEncoder(encoder);
    }
    Decoder decoder = codecFactory.getDecoder();
    if (decoder != null) {
        registerDecoder(decoder);
    }
}
Also used : StreamingEncoder(org.grails.encoder.StreamingEncoder) Encoder(org.grails.encoder.Encoder) ChainedEncoder(org.grails.encoder.ChainedEncoder) Decoder(org.grails.encoder.Decoder) ChainedDecoder(org.grails.encoder.ChainedDecoder)

Aggregations

ChainedDecoder (org.grails.encoder.ChainedDecoder)1 ChainedEncoder (org.grails.encoder.ChainedEncoder)1 Decoder (org.grails.encoder.Decoder)1 Encoder (org.grails.encoder.Encoder)1 StreamingEncoder (org.grails.encoder.StreamingEncoder)1