com.partnersoft.formats.dbf
Class DbfDataRecordSource
java.lang.Object
com.partnersoft.io.AbstractIterableInput<Naming<java.lang.Object>>
com.partnersoft.io.DataRecordSource
com.partnersoft.formats.dbf.DbfDataRecordSource
- All Implemented Interfaces:
- Coggable, IterableInput<Naming<java.lang.Object>>, java.lang.Iterable<Naming<java.lang.Object>>
public class DbfDataRecordSource
- extends DataRecordSource
|
Method Summary |
void |
closeImp()
Subclass implementation of guts of close() method. |
DataRecordSource |
copy()
Makes a copy of this DataRecordSource, that you can iterate over
separately. |
boolean |
fetchImp()
Subclass implementation of guts of fetch() method. |
void |
openImp()
Subclass implementation of guts of open() method. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DbfDataRecordSource
public DbfDataRecordSource()
DbfDataRecordSource
public DbfDataRecordSource(java.lang.String fileString)
throws java.io.IOException
- Throws:
java.io.IOException
DbfDataRecordSource
public DbfDataRecordSource(VfsFile file)
openImp
public void openImp()
throws java.lang.Exception
- Description copied from class:
AbstractIterableInput
- Subclass implementation of guts of open() method.
Subclasses must implement this to do the actual work required by open().
Feel free to throw exceptions; these are caught inside the open() itself
and applied to the exception variable. Thus, you can focus on the actual
task instead of paperwork.
- Specified by:
openImp in class AbstractIterableInput<Naming<java.lang.Object>>
- Throws:
java.lang.Exception
closeImp
public void closeImp()
throws java.lang.Exception
- Description copied from class:
AbstractIterableInput
- Subclass implementation of guts of close() method.
Subclasses must implement this to do the actual work required by close().
Feel free to throw exceptions; these are caught inside the close() itself
and applied to the exception variable. Thus, you can focus on the actual
task instead of paperwork.
- Specified by:
closeImp in class AbstractIterableInput<Naming<java.lang.Object>>
- Throws:
java.lang.Exception
copy
public DataRecordSource copy()
- Description copied from class:
DataRecordSource
- Makes a copy of this DataRecordSource, that you can iterate over
separately.
- Specified by:
copy in class DataRecordSource
- Returns:
- copy of this source
fetchImp
public boolean fetchImp()
throws java.lang.Exception
- Description copied from class:
AbstractIterableInput
- Subclass implementation of guts of fetch() method.
Subclasses must implement this to do the actual work required by fetch().
Feel free to throw exceptions; these are caught inside the fetch() itself
and applied to the exception variable. Thus, you can focus on the actual
task instead of paperwork.
- Specified by:
fetchImp in class AbstractIterableInput<Naming<java.lang.Object>>
- Returns:
- true if fetch successful
- Throws:
java.lang.Exception