DataRecord
DataRecord DataRecord ( )
Description
Create a new DataRecord object.
Parameters
This method does not receive any parameters.
Return Values
Returns DataRecord object.
Change Log
Version |
Description |
4.5 |
Available for all editions. |
Class Location
com.screenscraper.common.DataRecord
Examples
Create New DataRecord
// Create a new DataRecord object.
myDataRecord = new DataRecord();
// Populate it with a few fields.
myDataRecord.put( "CITY", "Los Angeles" );
myDataRecord.put( "ZIP", "90001" );
myDataRecord.put( "STATE", "CA" );
// Add it to an existing dataSet object.
dataSet.addDataRecord( myDataRecord );
See additional example usage: Iterate over DataSets & DataRecords.