public class CSVFileState extends Object
Constructor and Description |
---|
CSVFileState(File file) |
CSVFileState(File file,
URI namespace) |
CSVFileState(File file,
URI namespace,
String typeName) |
CSVFileState(File file,
URI namespace,
String typeName,
CoordinateReferenceSystem crs) |
CSVFileState(String dataInput,
String typeName)
Internal constructor for testing purposes?
|
Modifier and Type | Method and Description |
---|---|
CoordinateReferenceSystem |
getCrs() |
String[] |
getCSVHeaders() |
char |
getEscapechar() |
File |
getFile() |
String |
getLineSeparator() |
URI |
getNamespace() |
char |
getQuotechar() |
char |
getSeparator() |
String |
getTypeName() |
boolean |
isQuoteAllFields() |
CSVReader |
openCSVReader() |
void |
setCrs(CoordinateReferenceSystem crs) |
void |
setEscapechar(char escapechar2) |
void |
setLineSeparator(String lineSeparator) |
void |
setQuoteAllFields(boolean quoteAllFields) |
void |
setQuotechar(char quotechar) |
void |
setSeparator(char separator) |
public CSVFileState(File file)
public CSVFileState(File file, URI namespace, String typeName, CoordinateReferenceSystem crs)
public URI getNamespace()
public File getFile()
public String getTypeName()
public CoordinateReferenceSystem getCrs()
public void setCrs(CoordinateReferenceSystem crs)
public CSVReader openCSVReader() throws IOException, CsvValidationException
IOException
CsvValidationException
public String[] getCSVHeaders()
public char getQuotechar()
public void setQuotechar(char quotechar)
quotechar
- the quotechar to setpublic void setEscapechar(char escapechar2)
escapechar2
- public char getEscapechar()
public char getSeparator()
public void setSeparator(char separator)
separator
- the separator to setpublic String getLineSeparator()
public void setLineSeparator(String lineSeparator)
lineSeparator
- the lineSeparator to setpublic boolean isQuoteAllFields()
public void setQuoteAllFields(boolean quoteAllFields)
quoteAllFields
- the quoteAllFields to setCopyright © 1996–2023 Geotools. All rights reserved.