gov.lanl.Web
Class CSV2DOM.CharacterIterator

java.lang.Object
  |
  +--gov.lanl.Web.CSV2DOM.CharacterIterator
Enclosing class:
CSV2DOM

public static class CSV2DOM.CharacterIterator
extends java.lang.Object

Gets the characters from a string in order.


Constructor Summary
CSV2DOM.CharacterIterator(java.lang.String s)
           
 
Method Summary
 int getIndex()
          Get the index into the string to be returned next.
 java.lang.String getString()
          Get the string being iterated over.
 boolean hasNext()
          Indicates whether there are any more characters in the string.
 char next()
          Get the next character in the string, or \0 if no more characters are available.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CSV2DOM.CharacterIterator

public CSV2DOM.CharacterIterator(java.lang.String s)
Method Detail

getIndex

public int getIndex()
Get the index into the string to be returned next.


getString

public java.lang.String getString()
Get the string being iterated over.


hasNext

public boolean hasNext()
Indicates whether there are any more characters in the string.


next

public char next()
Get the next character in the string, or \0 if no more characters are available.



Copyright © 2000 University of California. All Rights Reserved.