foundry-0.9.1

foundry.stringutils
Class StringLineIterator

java.lang.Object
  |
  +--foundry.stringutils.StringLineIterator
All Implemented Interfaces:
Iterator

public class StringLineIterator
extends Object
implements Iterator


Field Summary
private static String LINE_SEPARATOR
           
private  LinkedList lines
           
 
Constructor Summary
StringLineIterator(String string)
           
StringLineIterator(String string, int position)
           
 
Method Summary
(package private) static void ()
           
 boolean hasNext()
           
protected  void initializeLines(String string, int position, boolean wrap)
           
 Object next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

LINE_SEPARATOR

private static final String LINE_SEPARATOR

lines

private final LinkedList lines
Constructor Detail

StringLineIterator

public StringLineIterator(String string,
                          int position)

StringLineIterator

public StringLineIterator(String string)
Method Detail

static void ()

initializeLines

protected void initializeLines(String string,
                               int position,
                               boolean wrap)

next

public Object next()
Specified by:
next in interface Iterator

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator

remove

public void remove()
            throws UnsupportedOperationException
Specified by:
remove in interface Iterator

foundry-0.9.1

Copyright © 2000 - Laird Jarrett Nelson