com.crocus.examples.csv.record
Class CSVRecordManagerImpl

java.lang.Object
  extended by com.crocus.examples.csv.record.AbstractCSVRecordManager
      extended by com.crocus.examples.csv.record.CSVRecordManager
          extended by com.crocus.examples.csv.record.CSVRecordManagerImpl
All Implemented Interfaces:
Serializable

public class CSVRecordManagerImpl
extends CSVRecordManager

Title:

Description: RecordManager Impl

Copyright:

Company:

Author:
M Shaaf
See Also:
Serialized Form
Email:
shaaf.m@gmail.com

Constructor Summary
protected CSVRecordManagerImpl()
           
 
Method Summary
 void addRecord(CSVRecord record)
           
 void containsRecord(CSVRecord record)
           
 Collection<CSVRecord> getAllRecords()
           
 Object[] getColumn(int columnIndex)
           
 int getColumnCount()
           
 CSVField getConvertField(int rowIndex, int columnIndex, int FIELD)
           
 CSVField getField(int rowIndex, int columnIndex)
           
 String getFieldType(int rowIndex, int columnIndex)
           
 CSVRecord getNewRecord()
           
 Collection<CSVRecord> getRecordList()
           
 CSVRecord getRow(int rowIndex)
           
 int getRowCount()
           
 Object getValueAt(int rowIndex, int columnIndex)
           
 boolean isMultipleFileSupported()
           
 void removeRecord(CSVRecord record)
           
 void setMultipleFileSupported(boolean isMultipleFileSupported)
           
 
Methods inherited from class com.crocus.examples.csv.record.AbstractCSVRecordManager
addRecordListener, isAllowListener, isEventAsync, sendEvent, sendEvent, setAllowListener, setEventAsync
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CSVRecordManagerImpl

protected CSVRecordManagerImpl()
Method Detail

addRecord

public void addRecord(CSVRecord record)
Specified by:
addRecord in class AbstractCSVRecordManager
Parameters:
record - CSVRecord

getRecordList

public Collection<CSVRecord> getRecordList()
Specified by:
getRecordList in class AbstractCSVRecordManager
Returns:
Collection

removeRecord

public void removeRecord(CSVRecord record)
Parameters:
record - CSVRecord

containsRecord

public void containsRecord(CSVRecord record)
Specified by:
containsRecord in class AbstractCSVRecordManager
Parameters:
record - CSVRecord

getColumn

public Object[] getColumn(int columnIndex)
Specified by:
getColumn in class AbstractCSVRecordManager
Parameters:
columnIndex - int
Returns:
Object[]

getRow

public CSVRecord getRow(int rowIndex)
Specified by:
getRow in class AbstractCSVRecordManager

getAllRecords

public Collection<CSVRecord> getAllRecords()
Specified by:
getAllRecords in class AbstractCSVRecordManager
Returns:
Collection

getNewRecord

public CSVRecord getNewRecord()
Specified by:
getNewRecord in class AbstractCSVRecordManager
Returns:
CSVRecord

getRowCount

public int getRowCount()
Specified by:
getRowCount in class AbstractCSVRecordManager
Returns:
int

getColumnCount

public int getColumnCount()
Specified by:
getColumnCount in class AbstractCSVRecordManager
Returns:
int

getValueAt

public Object getValueAt(int rowIndex,
                         int columnIndex)
Specified by:
getValueAt in class AbstractCSVRecordManager
Parameters:
rowIndex - int
columnIndex - int
Returns:
Object

getField

public CSVField getField(int rowIndex,
                         int columnIndex)
Specified by:
getField in class AbstractCSVRecordManager
Parameters:
rowIndex - int
columnIndex - int
Returns:
CSVField

getConvertField

public CSVField getConvertField(int rowIndex,
                                int columnIndex,
                                int FIELD)
Specified by:
getConvertField in class CSVRecordManager
Parameters:
rowIndex - int
columnIndex - int
FIELD - int
Returns:
CSVField

getFieldType

public String getFieldType(int rowIndex,
                           int columnIndex)
Specified by:
getFieldType in class AbstractCSVRecordManager
Parameters:
rowIndex - int
columnIndex - int
Returns:
String

isMultipleFileSupported

public boolean isMultipleFileSupported()
Specified by:
isMultipleFileSupported in class CSVRecordManager
Returns:
the isMultipleFileSupported

setMultipleFileSupported

public void setMultipleFileSupported(boolean isMultipleFileSupported)
Specified by:
setMultipleFileSupported in class CSVRecordManager
Parameters:
isMultipleFileSupported - the isMultipleFileSupported to set

Crocus - The First Flower of Spring