iglu.util
Class FileIterator

java.lang.Object
  |
  +--iglu.util.FileIterator
All Implemented Interfaces:
java.util.Iterator

public class FileIterator
extends java.lang.Object
implements java.util.Iterator


Field Summary
static int BLANKLINE
           
private  java.io.BufferedReader br
           
static int EOL
           
private  java.lang.String nextLine
           
private  int sep
           
 
Constructor Summary
FileIterator(java.io.File file, int separater)
           
FileIterator(java.lang.String filename, int separater)
           
 
Method Summary
 boolean hasNext()
           
static void main(java.lang.String[] argv)
           
 java.lang.Object next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

br

private java.io.BufferedReader br

sep

private int sep

nextLine

private java.lang.String nextLine

BLANKLINE

public static final int BLANKLINE
See Also:
Constant Field Values

EOL

public static final int EOL
See Also:
Constant Field Values
Constructor Detail

FileIterator

public FileIterator(java.io.File file,
                    int separater)

FileIterator

public FileIterator(java.lang.String filename,
                    int separater)
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator

next

public java.lang.Object next()
Specified by:
next in interface java.util.Iterator

remove

public void remove()
            throws java.lang.UnsupportedOperationException
Specified by:
remove in interface java.util.Iterator
java.lang.UnsupportedOperationException

main

public static void main(java.lang.String[] argv)