net.sf.jsefa.csv.mapping
Class CsvSimpleTypeMapping
java.lang.Object
net.sf.jsefa.common.mapping.TypeMapping<N>
net.sf.jsefa.common.mapping.SimpleTypeMapping<String>
net.sf.jsefa.csv.mapping.CsvSimpleTypeMapping
public final class CsvSimpleTypeMapping
- extends SimpleTypeMapping<String>
A mapping between a java object type and a simple CSV data type.
Instances of this class are immutable and thread safe.
- Author:
- Norman Lahme-Huetig
- See Also:
TypeMapping
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CsvSimpleTypeMapping
public CsvSimpleTypeMapping(Class<?> objectType,
String dataTypeName,
SimpleTypeConverter simpleTypeConverter,
QuoteMode quoteMode,
String noValueString)
- Constructs a new
CsvSimpleTypeMapping
from the given arguments.
- Parameters:
objectType
- the object typedataTypeName
- the data type namesimpleTypeConverter
- the simple type converterquoteMode
- the quote modenoValueString
- the string to use if no value is given
getQuoteMode
public QuoteMode getQuoteMode()
- Returns the quote mode.
- Returns:
- the quote mode
getNoValueString
public String getNoValueString()
- Returns the
String
to use if no value is given.
- Returns:
- the
String
to use if no value is given
Copyright © 2014. All rights reserved.