com.ricebridge.csvman
Class QuoteType
java.lang.Object
com.ricebridge.csvman.QuoteType
- All Implemented Interfaces:
- Serializable
- public class QuoteType
- extends Object
- implements Serializable
Enumeration of data field quoting options.
When saving CSV, each data field value can be surrounded by quote characters.
These characters may be necessary if the data field contains separator characters.
There quoting options are:
- AsNeeded
- quote only if necessary
- All
- quote all values
The default setting is QuoteType.AsNeeded.
- See Also:
CsvSpec.setQuote(char),
CsvSpec.setUseQuote(boolean),
Serialized Form
|
Field Summary |
static QuoteType |
All
Quote all output data fields. |
static QuoteType |
AsNeeded
Quote output data fields if necessary (that is, if they contain quotes or separators). |
AsNeeded
public static final QuoteType AsNeeded
- Quote output data fields if necessary (that is, if they contain quotes or separators).
All
public static final QuoteType All
- Quote all output data fields.
QuoteType
protected QuoteType(String pName)
toString
public String toString()
Copyright © 2003-2006 Ricebridge