List of usage examples for org.apache.commons.lang3 ExtendedSerializationUtils deserialize
public static final <T> T deserialize(Class<T> objType, byte[] objectData)
From source file:org.springframework.format.base64.Base64StringToObjectConverter.java
@Override public T convert(String source) { if (StringUtils.isEmpty(source)) { return null; }//from ww w . j a v a 2s .com byte[] bytes = Base64.decodeBase64(source); T obj = ExtendedSerializationUtils.deserialize(getTargetType(), bytes); return obj; }