List of usage examples for org.apache.commons.configuration HierarchicalConfiguration getBigInteger
public BigInteger getBigInteger(String key, BigInteger defaultValue)
From source file:com.github.steveash.typedconfig.resolver.type.simple.BigIntegerValueResolverFactory.java
@Override public ValueResolver makeForThis(final ConfigBinding binding, final HierarchicalConfiguration config, ConfigFactoryContext context) {//w w w .j av a 2s. co m final String key = binding.getConfigKeyToLookup(); return new ConvertableValueResolver(BigInteger.class, key) { @Override public BigInteger resolve() { return config.getBigInteger(binding.getConfigKeyToLookup(), null); } }; }