|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.googlecode.fascinator.common.harvester.impl.GenericHarvester
com.googlecode.fascinator.harvester.csv.CSVHarvester
public class CSVHarvester
Harvester for CSV files.
Configuration options:
You can select to harvest all columns (fields) or be selective:
Fields with repeated names result in only the first value being stored.
Based on Greg Pendlebury's CallistaHarvester.
2011 - QCIF undertakes maintenance work.
, Greg Pendlebury| Constructor Summary | |
|---|---|
CSVHarvester()
Constructs the CSV harvester plugin. |
|
| Method Summary | |
|---|---|
Set<String> |
getObjectIdList()
Harvest the next batch of rows and return their object IDs. |
boolean |
hasMoreObjects()
Check if there are more objects to harvest. |
void |
init()
Initialise the CSV harvester plugin. |
void |
shutdown()
Shutdown the plugin. |
| Methods inherited from class com.googlecode.fascinator.common.harvester.impl.GenericHarvester |
|---|
getDeletedObjectIdList, getId, getJsonConfig, getName, getObjectId, getPluginDetails, getStorage, hasMoreDeletedObjects, init, init, setStorage |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CSVHarvester()
| Method Detail |
|---|
public void init()
throws com.googlecode.fascinator.api.harvester.HarvesterException
init in class com.googlecode.fascinator.common.harvester.impl.GenericHarvestercom.googlecode.fascinator.api.harvester.HarvesterException - if an error occurred
public void shutdown()
throws com.googlecode.fascinator.api.harvester.HarvesterException
shutdown in interface com.googlecode.fascinator.api.Pluginshutdown in class com.googlecode.fascinator.common.harvester.impl.GenericHarvestercom.googlecode.fascinator.api.harvester.HarvesterException - if an error occurredpublic boolean hasMoreObjects()
true if there are more, false otherwise
public Set<String> getObjectIdList()
throws com.googlecode.fascinator.api.harvester.HarvesterException
com.googlecode.fascinator.api.harvester.HarvesterException - if an error occurred
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||