public interface DataSet extends Record, RecordDataSet
Modifier and Type | Method and Description |
---|---|
void |
absolute(int localPointer)
Sets the absolute position of the record pointer
|
void |
clearAll()
Clears both the errors and rows from memory
|
void |
clearErrors()
Clears out the parse errors from memory
|
void |
clearRows()
Clears out the rows in memory from the last parse.
|
int |
getIndex()
Returns the index the pointer is on for the array
|
int |
getRowCount()
Returns the total number of rows parsed in from the file
|
void |
goBottom()
Goes to the last record in the dataset
|
void |
goTop()
Goes to the top of the data set.
|
boolean |
isAnError(int lineNo)
Returns true or false as to whether or not the line number contains an
error.
|
void |
orderRows(OrderBy ob)
Orders the data by column(s) specified.
|
boolean |
previous()
Moves back to the previous record in the set return true if move was a
success, false if not
|
void |
remove()
Removes a row from the dataset.
|
void |
setLowerCase()
Sets data in the DataSet to lowercase
|
void |
setPZConvertProps(Properties props)
Sets the properties from the pzconvert.properties file.
|
void |
setStrictNumericParse(boolean strictNumericParse)
Setting this to True will parse text as is and throw a
NumberFormatException.
|
void |
setUpperCase()
Sets data in the DataSet to uppercase
|
void |
setValue(String column,
String value)
Changes the value of the given column only for the
given row which the pointer is currently sitting on.
|
contains, getBigDecimal, getBigDecimal, getColumns, getColumns, getDate, getDate, getDate, getDate, getDouble, getDouble, getInt, getInt, getLocalDate, getLocalDate, getLocalDate, getLocalDate, getLocalDate, getLong, getLong, getObject, getRawData, getRecordID, getRowNo, getString, getString, isRecordID, isRowEmpty
getErrorCount, getErrors, getRecord, next
void goTop()
void goBottom()
boolean previous()
void remove()
int getIndex()
int getRowCount()
boolean isAnError(int lineNo)
lineNo
- -
int line numbervoid orderRows(OrderBy ob)
ob
- -
OrderBy objectOrderBy
,
OrderColumn
void setLowerCase()
void setUpperCase()
void absolute(int localPointer)
localPointer
- -
intvoid setStrictNumericParse(boolean strictNumericParse)
strictNumericParse
- The strictNumericParse to set.void setPZConvertProps(Properties props)
props
- Property mapping for String to Object conversionvoid setValue(String column, String value)
column
- Column name to set the value forvalue
- Value to change the column tovoid clearRows()
void clearErrors()
void clearAll()
Copyright © 2006–2021 Appendium - Portfolio Financing Platform. All rights reserved.