public class CSVSerde extends AbstractModel
Constructor and Description |
---|
CSVSerde() |
CSVSerde(CSVSerde 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 |
getEscape()
Get CSV序列化转义符,默认为"\\",最长8个字符,如 Escape: "/\"
|
String |
getQuote()
Get CSV序列化字段域符,默认为"'",最长8个字符, 如 Quote: "\""
|
String |
getSeparator()
Get CSV序列化分隔符,默认为"\t",最长8个字符, 如 Separator: "\t"
|
void |
setEscape(String Escape)
Set CSV序列化转义符,默认为"\\",最长8个字符,如 Escape: "/\"
|
void |
setQuote(String Quote)
Set CSV序列化字段域符,默认为"'",最长8个字符, 如 Quote: "\""
|
void |
setSeparator(String Separator)
Set CSV序列化分隔符,默认为"\t",最长8个字符, 如 Separator: "\t"
|
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 CSVSerde()
public CSVSerde(CSVSerde source)
public String getEscape()
public void setEscape(String Escape)
Escape
- CSV序列化转义符,默认为"\\",最长8个字符,如 Escape: "/\"public String getQuote()
public void setQuote(String Quote)
Quote
- CSV序列化字段域符,默认为"'",最长8个字符, 如 Quote: "\""public String getSeparator()
public void setSeparator(String Separator)
Separator
- CSV序列化分隔符,默认为"\t",最长8个字符, 如 Separator: "\t"Copyright © 2021. All rights reserved.