de.esprit.common.io.csv

## Class CsvStringIterator

- java.lang.Object
- - de.esprit.common.io.csv.CsvStringIterator

-     public class CsvStringIterator
      extends java.lang.Object

  This class is a 'better' `StringTokenizer` which is able to cope with empty fields. Consider this line for instance: 'a:b::c'. `StringTokenizer` would only find 3 fields but this `CsvStringIterator` will find an empty field between b and c.
  Author:
    Rainer Buesch

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `CsvStringIterator(java.lang.String str, char delim)`
    `CsvStringIterator(java.lang.String str, char delim, boolean isTrimming)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getWordCount()`
    `boolean` | `hasNext()`
    `java.lang.String` | `next()`
    `int` | `nextInt()`
    `long` | `nextLong()`
    `DBTimestamp` | `nextTimestamp()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### CsvStringIterator

          public CsvStringIterator(java.lang.String str,
                           char delim)

    - #### CsvStringIterator

          public CsvStringIterator(java.lang.String str,
                           char delim,
                           boolean isTrimming)

  - ### Method Detail

    - #### getWordCount

          public int getWordCount()

    - #### hasNext

          public boolean hasNext()

    - #### next

          public java.lang.String next()

    - #### nextInt

          public int nextInt()

    - #### nextLong

          public long nextLong()

    - #### nextTimestamp

          public DBTimestamp nextTimestamp()

Copyright © 2014 EsprIT-Systems. All Rights Reserved.