|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.io.DataRecordCopier
public class DataRecordCopier
Handles copying values from a DataRecordSource into a DataRecordSink.
Copyright 2009 Partner Software, Inc.
| Constructor Summary | |
|---|---|
DataRecordCopier(DataRecordSource source,
DataRecordSink sink)
Creates a new DataRecordCopier. |
|
DataRecordCopier(DataRecordSource source,
DataRecordSink sink,
Naming<java.lang.String> fieldMapping)
Creates a new DataRecordCopier. |
|
| Method Summary | |
|---|---|
int |
copy()
Copies all values in source into sink. |
int |
copy(boolean closeSink,
boolean closeSource)
Copies all values in source into sink. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DataRecordCopier(DataRecordSource source,
DataRecordSink sink)
source - sink -
public DataRecordCopier(DataRecordSource source,
DataRecordSink sink,
Naming<java.lang.String> fieldMapping)
fieldMapping is source field names keyed to destination field names.
source - sink - fieldMapping - | Method Detail |
|---|
public int copy()
public int copy(boolean closeSink,
boolean closeSource)
closeSink - - if true, closes sink after copy.closeSource - - if true, closes source after copy.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||