com.ricebridge.csvman
Class QuoteType

java.lang.Object
  extended bycom.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).
 
Constructor Summary
protected QuoteType(String pName)
           
 
Method Summary
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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.

Constructor Detail

QuoteType

protected QuoteType(String pName)
Method Detail

toString

public String toString()


Copyright © 2003-2006 Ricebridge