Package ariba.util.io

Examples of ariba.util.io.CSVConsumer


            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)));
View Full Code Here

TOP

Related Classes of ariba.util.io.CSVConsumer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.