public class CsvInfo extends AbstractModel
Constructor and Description |
---|
CsvInfo() |
CsvInfo(CsvInfo source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getDelimiter()
Get Field delimiter
|
String |
getEscapeChar()
Get Escape character used to enclose any field delimiter in field content.
|
String[] |
getKeys()
Get Names of keys
Note: this field may return `null`, indicating that no valid values can be obtained.
|
String |
getNonExistingField()
Get Content used to populate non-existing fields
|
Boolean |
getPrintKey()
Get Whether to print `key` on the first row of the CSV file
|
void |
setDelimiter(String Delimiter)
Set Field delimiter
|
void |
setEscapeChar(String EscapeChar)
Set Escape character used to enclose any field delimiter in field content.
|
void |
setKeys(String[] Keys)
Set Names of keys
Note: this field may return `null`, indicating that no valid values can be obtained.
|
void |
setNonExistingField(String NonExistingField)
Set Content used to populate non-existing fields
|
void |
setPrintKey(Boolean PrintKey)
Set Whether to print `key` on the first row of the CSV file
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public CsvInfo()
public CsvInfo(CsvInfo source)
public Boolean getPrintKey()
public void setPrintKey(Boolean PrintKey)
PrintKey
- Whether to print `key` on the first row of the CSV filepublic String[] getKeys()
public void setKeys(String[] Keys)
Keys
- Names of keys
Note: this field may return `null`, indicating that no valid values can be obtained.public String getDelimiter()
public void setDelimiter(String Delimiter)
Delimiter
- Field delimiterpublic String getEscapeChar()
public void setEscapeChar(String EscapeChar)
EscapeChar
- Escape character used to enclose any field delimiter in field content. You can enter only a single quotation mark, double quotation mark, or an empty string.public String getNonExistingField()
public void setNonExistingField(String NonExistingField)
NonExistingField
- Content used to populate non-existing fieldsCopyright © 2023. All rights reserved.