public class CSVObjectFactory extends Object
| Constructor and Description | 
|---|
CSVObjectFactory()  | 
| Modifier and Type | Method and Description | 
|---|---|
static CollectorProcessDefinition | 
buildCPD(String csv)  | 
static Depository | 
buildDepository(String csv)  | 
static MeasurementPruningDefinition | 
buildMeasurementPruningDefinition(String csv)  | 
static Sensor | 
buildSensor(String csv)  | 
static SensorGroup | 
buildSensorGroup(String csv)  | 
static String | 
toCSV(CollectorProcessDefinition cpd)  | 
static String | 
toCSV(Depository depo)  | 
static String | 
toCSV(MeasurementPruningDefinition gcd)  | 
static String | 
toCSV(Sensor sensor)  | 
static String | 
toCSV(SensorGroup group)  | 
public static String toCSV(CollectorProcessDefinition cpd)
cpd - the CollectorProcessDefinition.public static CollectorProcessDefinition buildCPD(String csv) throws IOException
csv - the CSV to parse.IOException - if there is a problem parsing the csv.public static String toCSV(Depository depo)
depo - the Depository.public static Depository buildDepository(String csv) throws IOException
csv - The CSV entity to parse.IOException - if there is a problem parsing the String.public static String toCSV(Sensor sensor)
sensor - The Sensor.public static Sensor buildSensor(String csv) throws IOException
csv - The CSV entity to parse.IOException - if there is a problem parsing the String.public static String toCSV(SensorGroup group)
group - The SensorGroup to convert.public static SensorGroup buildSensorGroup(String csv) throws IOException
csv - The CSV representation of the SensorGroupIOException - if there is a problem parsing the String.public static String toCSV(MeasurementPruningDefinition gcd)
gcd - The MeasurementPruningDefinition to convert.public static MeasurementPruningDefinition buildMeasurementPruningDefinition(String csv) throws IOException
csv - The CSV representation of the SensorGroupIOException - if there is a problem parsing the String.Copyright © 2015 Collaborative Software Development Laboratory. All rights reserved.