Package hec.io.dbf
Class WriteRecordHandler
java.lang.Object
hec.io.dbf.RecordHandler
hec.io.dbf.WriteRecordHandler
A class that process the writing of records to the data 4 object. Used by
hec.server.RmiDbfFileImpl/
-
Constructor Summary
ConstructorsConstructorDescriptionWriteRecordHandler
(codebase.Data4jni data4Jni, DbfRecordSet recordSet, DbfWriteResultSet resultSet, Vector fieldObjects) -
Method Summary
Modifier and TypeMethodDescriptionprotected Vector
getRow
(int setRecordIndex) protected void
handleException
(int dbfRecordNumber, Serializable indexTagKey, Exception e) protected void
handleResults
(int setRecordIndex, int dbfRecordNumber, Serializable indexTagKey, Vector row) protected void
processRow
(int columnIndex, Vector row, Object o) Methods inherited from class hec.io.dbf.RecordHandler
getResultSet, process
-
Constructor Details
-
WriteRecordHandler
public WriteRecordHandler(codebase.Data4jni data4Jni, DbfRecordSet recordSet, DbfWriteResultSet resultSet, Vector fieldObjects)
-
-
Method Details
-
getRow
- Specified by:
getRow
in classRecordHandler
-
handleException
- Specified by:
handleException
in classRecordHandler
-
handleResults
protected void handleResults(int setRecordIndex, int dbfRecordNumber, Serializable indexTagKey, Vector row) throws IOException, codebase.Error4message, codebase.Error4unexpected, codebase.Error4usage, codebase.Error4locked, codebase.Error4unique - Specified by:
handleResults
in classRecordHandler
- Throws:
IOException
codebase.Error4message
codebase.Error4unexpected
codebase.Error4usage
codebase.Error4locked
codebase.Error4unique
-
processRow
protected void processRow(int columnIndex, Vector row, Object o) throws IOException, codebase.Error4message, codebase.Error4unexpected - Specified by:
processRow
in classRecordHandler
- Throws:
IOException
codebase.Error4message
codebase.Error4unexpected
-