com.regnosys.rosetta.translate.basic.IntParseHandler Maven / Gradle / Ivy
package com.regnosys.rosetta.translate.basic;
public class IntParseHandler extends BasicParseHandler {
public IntParseHandler(boolean allowsMultiple, boolean isCondition, boolean removeHtml) {
super(allowsMultiple, isCondition, removeHtml);
}
public IntParseHandler(boolean allowsMultiple, boolean isCondition, boolean removeHtml, String patternMatch, String patternReplace) {
super(allowsMultiple, isCondition, removeHtml, patternMatch, patternReplace);
}
@Override
public String toString() {
return "Integer";
}
@Override
protected Integer convert(String value) {
return Integer.valueOf(value);
}
}