java.lang.Object
com.flexstor.flexdbserver.services.typer.TyperDataFile
- public class TyperDataFile
- extends java.lang.Object
Provide text file access
|
Method Summary |
boolean |
close()
Close the current file. |
java.lang.String |
getLine()
Read a line from the text file. |
boolean |
readOK()
Return error status from last operation. |
boolean |
streamOK()
Return status of the input stream. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sVersion
public static java.lang.String sVersion
inStream
protected java.io.BufferedReader inStream
bReadError
protected boolean bReadError
TyperDataFile
public TyperDataFile(java.lang.String sFileName)
- Constructor - Open the specified text file input stream.
getLine
public java.lang.String getLine()
- Read a line from the text file.
readOK
public boolean readOK()
- Return error status from last operation.
streamOK
public boolean streamOK()
- Return status of the input stream.
close
public boolean close()
- Close the current file.