com.iwbfly.myhttp.converter.text.DefaultTextConverter Maven / Gradle / Ivy
The newest version!
package com.iwbfly.myhttp.converter.text;
import com.iwbfly.myhttp.converter.Decoder;
import java.lang.reflect.Type;
/**
* @author pangyajun
* @since 2021/11/25 23:29
**/
public class DefaultTextConverter implements Decoder {
@Override
public T decode(String source, Class targetClass) {
return (T) source;
}
@Override
public T decode(String source, Type targetClass) {
return (T) source;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy