de.spieleck.app.turn
Class LineSource
java.lang.Object
de.spieleck.app.turn.LineSource
public class LineSource
- extends java.lang.Object
Quick hack to make reading lines of file a bit like iterating.
$URL: https://svn.sourceforge.net/svnroot/jtourney/src/de/spieleck/app/turn/LineSource.java $
- Version:
- $Revision: 2 $ $Date: 2006-03-20 14:33:27 +0100 (Mo, 20 Mrz 2006) $ $Author: nestefan $
- Author:
- Frank S. Nestel, $Author: nestefan $
Constructor Summary |
LineSource(java.io.File root,
java.lang.String file)
|
LineSource(java.io.Reader reader)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COMMENTSTR
public static final java.lang.String COMMENTSTR
- See Also:
- Constant Field Values
LineSource
public LineSource(java.io.Reader reader)
LineSource
public LineSource(java.io.File root,
java.lang.String file)
throws java.io.IOException
- Throws:
java.io.IOException
getFName
public java.lang.String getFName()
line
public java.lang.String line()
throws java.io.IOException
- Throws:
java.io.IOException
lastModified
public long lastModified()
close
public void close()
throws java.io.IOException
- Throws:
java.io.IOException