public abstract class DataTextObject
extends java.lang.Object
DataUtil
,
TextAttrCol
Constructor and Description |
---|
DataTextObject()
Constructs an new data text object
|
DataTextObject(java.lang.String textFileName)
Constructs an new data text object
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getText(java.lang.String columnName)
Returns the value of the column as specified by column name
|
abstract TextAttrCol[] |
getTextAttrCols()
Returns the column description of the file
|
boolean |
nextRow()
Moves the pointer to the next line.
|
void |
openFile(java.lang.String textFileName)
Opens a new text file
|
public DataTextObject()
public DataTextObject(java.lang.String textFileName)
textFileName
- the name of the file to openpublic void openFile(java.lang.String textFileName)
textFileName
- the name of the file to openpublic boolean nextRow()
public abstract TextAttrCol[] getTextAttrCols()
public java.lang.String getText(java.lang.String columnName)
columnName
- the name of the column which value should be returnedCopyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de