org.gcube.application.aquamaps.aquamapsservice.stubs.datamodel.utils
Class CSVUtils
java.lang.Object
org.gcube.application.aquamaps.aquamapsservice.stubs.datamodel.utils.CSVUtils
public class CSVUtils
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CSVUtils
public CSVUtils()
CSVToStringList
public static ArrayList<String> CSVToStringList(String theString)
CSVTOIntegerList
public static ArrayList<Integer> CSVTOIntegerList(String theString)
listToCSV
public static String listToCSV(List values)
resultSetToCSVFile
public static long resultSetToCSVFile(ResultSet rs,
String outFile,
boolean writeHeaders)
throws IOException,
SQLException
- Throws:
IOException
SQLException
loadCSV
public static List<List<Field>> loadCSV(String path,
char delimiter)
throws Exception
- Throws:
Exception
countCSVRows
public static Long countCSVRows(String path,
char delimiter,
boolean hasHeaders)
throws Exception
- Throws:
Exception
Copyright © 2013. All Rights Reserved.