net.sf.jsefa.csv.lowlevel
Class CsvLowLevelDeserializerImpl

java.lang.Object
  extended by net.sf.jsefa.rbf.lowlevel.RbfLowLevelDeserializerImpl<CsvLowLevelConfiguration>
      extended by net.sf.jsefa.csv.lowlevel.CsvLowLevelDeserializerImpl
All Implemented Interfaces:
LowLevelDeserializer, CsvLowLevelDeserializer, RbfLowLevelDeserializer

public final class CsvLowLevelDeserializerImpl
extends RbfLowLevelDeserializerImpl<CsvLowLevelConfiguration>
implements CsvLowLevelDeserializer

Implementation of CsvLowLevelDeserializer based on RbfLowLevelDeserializerImpl.

Author:
Norman Lahme-Huetig

Constructor Summary
CsvLowLevelDeserializerImpl(CsvLowLevelConfiguration config)
          Constructs a new CsvLowLevelDeserializerImpl.
 
Method Summary
 String nextField(QuoteMode quoteMode)
          Returns the next field of the current record.
 
Methods inherited from class net.sf.jsefa.rbf.lowlevel.RbfLowLevelDeserializerImpl
close, getConfiguration, getCurrentSegmentTerminator, getCurrentSegmentTerminatorString, getInputPosition, getStoredLines, hasNextChar, nextChar, nextString, open, peekChar, readNextRecord, readNextSegment, remainingLineLength, unreadRecord
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sf.jsefa.rbf.lowlevel.RbfLowLevelDeserializer
getStoredLines, readNextRecord, unreadRecord
 
Methods inherited from interface net.sf.jsefa.common.lowlevel.LowLevelDeserializer
close, getInputPosition, open
 

Constructor Detail

CsvLowLevelDeserializerImpl

public CsvLowLevelDeserializerImpl(CsvLowLevelConfiguration config)
Constructs a new CsvLowLevelDeserializerImpl.

Parameters:
config - the configuration
Method Detail

nextField

public String nextField(QuoteMode quoteMode)
Returns the next field of the current record.

If the field is empty, the empty String will be returned.
If there is no next field, null will be returned.

Specified by:
nextField in interface CsvLowLevelDeserializer
Parameters:
quoteMode - the quote mode
Returns:
the field value or null if there is no next field


Copyright © 2014. All rights reserved.