gov.nasa.javaGenes.core
Class TokenizeInput
java.lang.Object
gov.nasa.javaGenes.core.TokenizeInput
- public class TokenizeInput
- extends java.lang.Object
used to read files created by TokenizeOutput. Format is ASCII with one token per line.
A token is a number, a string, or a boolean. Used for checkpointing by JavaGenes.
- See Also:
TokenizeOutput
Field Summary |
protected java.lang.String |
filename
|
protected java.io.BufferedReader |
input
|
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
input
protected java.io.BufferedReader input
filename
protected java.lang.String filename
TokenizeInput
public TokenizeInput(java.lang.String f)
- Parameters:
f
- filename
getBoolean
public boolean getBoolean()
getInteger
public int getInteger()
getLong
public long getLong()
getDouble
public double getDouble()
getString
public java.lang.String getString()
close
public void close()
getLine
protected java.lang.String getLine()
finalize
protected void finalize()
throws java.lang.Throwable
- close the file if necessary
- Throws:
java.lang.Throwable