public static class TsvFormatTrait.Configuration extends Object
| Constructor and Description |
|---|
Configuration() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCharsetName()
Returns the charset name.
|
String |
getCodecName()
Returns the codec name.
|
boolean |
isAllowLinefeed()
Returns whether each value can contain linefeed.
|
boolean |
isEnableHeader()
Returns whether the header is required.
|
void |
setAllowLinefeed(boolean allow)
Sets whether each value can contain linefeed.
|
void |
setCharsetName(String charsetName)
Sets the charset name.
|
void |
setCodecName(String codecName)
Sets the codec name.
|
void |
setEnableHeader(boolean enableHeader)
Configures whether the header is required.
|
public String getCharsetName()
public boolean isAllowLinefeed()
true if allowed, otherwise falsepublic void setAllowLinefeed(boolean allow)
allow - true if allowed, otherwise falsepublic void setCharsetName(String charsetName)
charsetName - the charset namepublic String getCodecName()
null if no codecs are specifiedpublic void setCodecName(String codecName)
codecName - the codec name, or null to reset itpublic boolean isEnableHeader()
true if header is required, otherwise false (default: false)public void setEnableHeader(boolean enableHeader)
enableHeader - true to require header, otherwise falseCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.