InputStream in = resource.inputStream();
// File format:
// "ISO_CODE","ISO_NUMERIC","NAME","PREFIX","SUFFIX","CURRENCY_GROUP","SCALE","IS_SUPPORTED","ACTIVE_BEGIN_DATE","ACTIVE_END_DATE"
try {
CSVReader reader = new CSVReader(new CSVConsumer() {
public void consumeLineOfTokens (String path, int lineNumber, List line)
{
if (lineNumber == 1) return;
List<String> l = line;
Currency currency = new Currency(l.get(0), l.get(3), l.get(4), Integer.parseInt(l.get(6)));