Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.fasterxml.jackson.databind.deser.std;
 
 
 
 public class CharsetDeserializer
     extends FromStringDeserializer<Charset>
    private static final long serialVersionUID = 1L;
    public CharsetDeserializer() { super(Charset.class); }
    @Override
    protected Charset _deserialize(String valueDeserializationContext ctxt)
        throws IOException
    {
        return Charset.forName(value);
    }
New to GrepCode? Check out our FAQ X