litesoft
@ 941
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
// This Source Code is in the Public Domain per: http://litesoft.org/License.txt package org.litesoft.core.util; import org.litesoft.commonfoundation.interators.*; /** * An Iterator of the values in a String encoded as Comma Seperated Values.<p> * <p/> * For the rules to parsing CSV, see CsvSupport * * @author George Smith * @version 1.0 7/28/01 * @see CsvSupport */ public final class CsvIterator extends ArrayIterator<String> { /** * Construct an Iterator of the values in a String encoded as Comma Seperated Values.<p> * * @param pSource the String to CSV decode (null OK). */ public CsvIterator( String pSource ) { super( "CsvIterator", (new CsvSupport()).decode( pSource ) ); } } |