xuxiuxi
2017-07-24 4f40d5eea0b9ecefa80632c53d2c6e7f5cc6c35a
1
2
3
4
5
6
7
8
9
10
11
12
13
package com.awsle.aibatis.xml.engine.converters.basic;
 
public class ByteConverter extends AbstractBasicConverter {
 
    public boolean canConvert(Class type) {
        return type.equals(byte.class) || type.equals(Byte.class);
    }
 
    protected Object fromString(String str) {
        return new Byte((byte) Integer.parseInt(str));
    }
 
}