|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.progeeks.dbf.DbfReader
public class DbfReader
A reader for DBF files that can stream records from start to finish. This reader does not support random access.
| Constructor Summary | |
|---|---|
DbfReader(java.io.File f)
|
|
| Method Summary | |
|---|---|
void |
close()
|
DbfHeader |
getHeader()
|
int |
getRecordNumber()
Returns the number of the record that will be returned next. |
boolean |
hasNext()
|
java.lang.Object |
next()
|
DbfRecord |
nextRecord()
Returns the next record from the database and returns a new DbfRecord instance. |
DbfRecord |
nextRecord(DbfRecord record)
Reads the next record from the database and puts the values into the specified DbfRecord. |
void |
remove()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DbfReader(java.io.File f)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public void close()
throws java.io.IOException
java.io.IOExceptionpublic DbfHeader getHeader()
public DbfRecord nextRecord()
throws java.io.IOException
java.io.IOException
public DbfRecord nextRecord(DbfRecord record)
throws java.io.IOException
java.io.IOExceptionpublic int getRecordNumber()
public java.lang.Object next()
next in interface java.util.Iteratorpublic boolean hasNext()
hasNext in interface java.util.Iteratorpublic void remove()
remove in interface java.util.Iterator
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||