cn.chenhuanming.octopus.formatter.IntegerFormatter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of octopus Show documentation
Show all versions of octopus Show documentation
A simple excel import and export tool
package cn.chenhuanming.octopus.formatter;
/**
* @author chenhuanming
* Created at 2019-01-08
*/
public class IntegerFormatter extends AbstractFormatter {
@Override
public String format(Integer integer) {
return String.valueOf(integer);
}
@Override
public Integer parseImpl(String str) throws Exception {
return Integer.valueOf(str);
}
}