|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectru.smartflex.tools.dbf.DbfIterator
public class DbfIterator
An iterator over xBase file. Reads all file from first record to last record.
Constructor Summary | |
---|---|
protected |
DbfIterator(java.io.File dbfFile,
java.lang.String enc)
|
protected |
DbfIterator(java.io.InputStream is,
java.lang.String enc)
|
Method Summary | |
---|---|
void |
closeIterator()
The method has to be invoked in case when not all records were read. |
boolean |
hasMoreRecords()
Returns true if the iteration has more records |
DbfRecord |
nextRecord()
Returns the next record in the iteration. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected DbfIterator(java.io.File dbfFile, java.lang.String enc)
protected DbfIterator(java.io.InputStream is, java.lang.String enc)
Method Detail |
---|
public boolean hasMoreRecords()
true
if the iteration has more records
true
if the iteration has more recordspublic DbfRecord nextRecord()
public void closeIterator()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |