|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.esdihumboldt.hale.io.csv.reader.internal.CSVUtil
public class CSVUtil
Utils for the CSVSchemaReader and CSVInstanceReader
Field Summary |
---|
Fields inherited from interface eu.esdihumboldt.hale.io.csv.reader.internal.CSVConstants |
---|
DEFAULT_ESCAPE, DEFAULT_QUOTE, DEFAULT_SEPARATOR, PARAM_ESCAPE, PARAM_GEOMETRY, PARAM_QUOTE, PARAM_SEPARATOR, PARAM_TYPENAME |
Constructor Summary | |
---|---|
CSVUtil()
|
Method Summary | |
---|---|
static char |
getEscape(ImportProvider provider)
Getter for the escape sign |
static char |
getQuote(ImportProvider provider)
Getter for the quote sign |
static char |
getSep(ImportProvider provider)
Getter for the separating sign |
static au.com.bytecode.opencsv.CSVReader |
readFirst(ImportProvider provider)
Reads only the first line of a given CSV file |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CSVUtil()
Method Detail |
---|
public static au.com.bytecode.opencsv.CSVReader readFirst(ImportProvider provider) throws IOException
provider
- provider to get the parameters from
IOException
- if an I/O operation failspublic static char getSep(ImportProvider provider)
provider
- the provider given to the method
public static char getQuote(ImportProvider provider)
provider
- the provider given to the method
public static char getEscape(ImportProvider provider)
provider
- the provider given to the method
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |