|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.acesoft.aceoffix.excelreader.Table
public class Table
Table class represents a table defined in Aceoffix.
Table class is an important Excel table class defined in Aceoffix.
You can only call the Sheet.openTable(String) method to get the Table object.
Method Summary | |
---|---|
void |
close()
Closes the current Table. |
DataFieldCollection |
getDataFields()
Gets the DataField collection of the current record in the Table. |
java.lang.String |
getDefinedName()
Gets the defined name of the Table. |
boolean |
getEOF()
Returns a value that indicates whether the current record position is after the last position in the Table. |
int |
getRowCount()
Gets the count of rows in the Table. |
void |
gotoRow(int rowIndex)
Moves to the specified row in the Table. |
void |
nextRow()
Moves to the next record row in the Table. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public java.lang.String getDefinedName()
public int getRowCount()
Gets the count of rows in the Table.
Sheet.openTable().
public boolean getEOF()
This property is the ending condition for looping all the record rows in the table.
Sheet.openTable().
public DataFieldCollection getDataFields() throws java.lang.Exception
java.lang.Exception
Sheet.openTable().
public void nextRow() throws java.lang.Exception
When the Table is opened, the default record is the first row. And you can call the NextRow() method to get the data form the next row. If you want to get all data from the Table, you can use NextRow() method and EOF property to loop all the record rows of the Table.
java.lang.Exception
Sheet.openTable().
public void gotoRow(int rowIndex) throws java.lang.Exception
rowIndex
- Zero-based. The maximum RowIndex is equal to RowCount - 1.
java.lang.Exception
public void close() throws java.lang.Exception
When all the operations of the current Table are done, you must call the Close method to close the Table. Once the Table is closed, you cannot refer to it again.
java.lang.Exception
Sheet.openTable().
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |