BeanIO 2.0.4

org.beanio.internal.parser.format.delimited
Class DelimitedFieldFormat

java.lang.Object
  extended by org.beanio.internal.parser.format.flat.FlatFieldFormatSupport
      extended by org.beanio.internal.parser.format.delimited.DelimitedFieldFormat
All Implemented Interfaces:
FieldFormat, FlatFieldFormat

public class DelimitedFieldFormat
extends FlatFieldFormatSupport
implements FieldFormat

A FieldFormat implementation for a field in a delimited stream.

Since:
2.0
Author:
Kevin Seim

Constructor Summary
DelimitedFieldFormat()
          Constructs a new DelimitedFieldFormat.
 
Method Summary
 String extractFieldText(UnmarshallingContext context, boolean reporting)
           
 void insertFieldText(MarshallingContext context, String fieldText, boolean commit)
           
 
Methods inherited from class org.beanio.internal.parser.format.flat.FlatFieldFormatSupport
extract, getName, getPadding, getPosition, getSize, getUntil, insertField, insertValue, isLazy, isNillable, setLazy, setName, setPadding, setPosition, setUntil, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.beanio.internal.parser.FieldFormat
extract, getSize, insertField, insertValue, isLazy, isNillable
 

Constructor Detail

DelimitedFieldFormat

public DelimitedFieldFormat()
Constructs a new DelimitedFieldFormat.

Method Detail

insertFieldText

public void insertFieldText(MarshallingContext context,
                            String fieldText,
                            boolean commit)
Specified by:
insertFieldText in class FlatFieldFormatSupport

extractFieldText

public String extractFieldText(UnmarshallingContext context,
                               boolean reporting)
Specified by:
extractFieldText in class FlatFieldFormatSupport

BeanIO 2.0.4

Copyright © 2010-2013 Kevin Seim