All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.regnosys.rosetta.translate.basic.NumberParseHandler Maven / Gradle / Ivy

There is a newer version: 11.25.1
Show newest version
package com.regnosys.rosetta.translate.basic;

import java.math.BigDecimal;

public class NumberParseHandler extends BasicParseHandler {
	
	public NumberParseHandler(boolean allowsMultiple, boolean isCondition, boolean removeHtml) {
		super(allowsMultiple, isCondition, removeHtml);
	}

	public NumberParseHandler(boolean allowsMultiple, boolean isCondition, boolean removeHtml, String patternMatch, String patternReplace) {
		super(allowsMultiple, isCondition, removeHtml, patternMatch, patternReplace);
	}

	@Override
	public String toString() {
		return "BigDecimal";
	}

	@Override
	protected BigDecimal convert(String value) {
		return new BigDecimal(value);
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy