bpiwowar.argparser.utils
Class ReadLineIterator
java.lang.Object
  
bpiwowar.argparser.utils.ReadLineIterator
- All Implemented Interfaces: 
 - Closeable, Iterable<String>, Iterator<String>
 
public class ReadLineIterator
- extends Object
- implements Iterable<String>, Iterator<String>, Closeable
  
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
ReadLineIterator
public ReadLineIterator(BufferedReader reader)
ReadLineIterator
public ReadLineIterator(Reader in)
ReadLineIterator
public ReadLineIterator(InputStream in)
ReadLineIterator
public ReadLineIterator(File file)
                 throws FileNotFoundException
- Throws:
 FileNotFoundException
hasNext
public boolean hasNext()
- Specified by:
 hasNext in interface Iterator<String>
 
 
next
public String next()
- Specified by:
 next in interface Iterator<String>
 
 
remove
public void remove()
- Specified by:
 remove in interface Iterator<String>
 
 
iterator
public Iterator<String> iterator()
- Specified by:
 iterator in interface Iterable<String>
 
 
close
public void close()
- Specified by:
 close in interface Closeable
 
 
Copyright © 2013. All Rights Reserved.