Jacson

de.spieleck.app.turn
Class LineSource

java.lang.Object
  extended by 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 $

Field Summary
static java.lang.String COMMENTSTR
           
 
Constructor Summary
LineSource(java.io.File root, java.lang.String file)
           
LineSource(java.io.Reader reader)
           
 
Method Summary
 void close()
           
 java.lang.String getFName()
           
 long lastModified()
           
 java.lang.String line()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMMENTSTR

public static final java.lang.String COMMENTSTR
See Also:
Constant Field Values
Constructor Detail

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
Method Detail

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

spieleck.de