gov.nasa.javaGenes.core
Class TokenizeOutput
java.lang.Object
gov.nasa.javaGenes.core.TokenizeOutput
- public class TokenizeOutput
- extends java.lang.Object
used to write files that will be read by TokenizeInput. 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:
TokenizeInput
Field Summary |
protected java.io.PrintWriter |
file
|
protected java.lang.String |
filename
|
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
filename
protected java.lang.String filename
file
protected java.io.PrintWriter file
TokenizeOutput
public TokenizeOutput(java.lang.String f)
- Parameters:
f
- filename
putBoolean
public void putBoolean(boolean b)
putInteger
public void putInteger(int integer)
putLong
public void putLong(long integer)
putDouble
public void putDouble(double real)
putString
public void putString(java.lang.String string)
close
public void close()
finalize
protected void finalize()
throws java.lang.Throwable
- close the file if necessary
- Throws:
java.lang.Throwable