org.beanio.internal.compiler.fixedlength
Class FixedLengthPreprocessor
java.lang.Object
   org.beanio.internal.compiler.ProcessorSupport
org.beanio.internal.compiler.ProcessorSupport
       org.beanio.internal.compiler.Preprocessor
org.beanio.internal.compiler.Preprocessor
           org.beanio.internal.compiler.flat.FlatPreprocessor
org.beanio.internal.compiler.flat.FlatPreprocessor
               org.beanio.internal.compiler.fixedlength.FixedLengthPreprocessor
org.beanio.internal.compiler.fixedlength.FixedLengthPreprocessor
- public class FixedLengthPreprocessor 
- extends FlatPreprocessor
Configuration Preprocessor for a fixed length stream format.
- Since:
- 2.0
- Author:
- Kevin Seim
 
 
 
| Method Summary | 
| protected  int | getSize(FieldConfig field)Returns the size of a field.
 | 
| protected  boolean | isFixedLength()Returns whether the stream format is fixed length.
 | 
 
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
FixedLengthPreprocessor
public FixedLengthPreprocessor(StreamConfig stream)
- Constructs a new FixedLengthPreprocessor.
 
- Parameters:
- stream- the stream configuration to pre-process
 
getSize
protected int getSize(FieldConfig field)
- Description copied from class: FlatPreprocessor
- Returns the size of a field.
 
- 
- Overrides:
- getSizein class- FlatPreprocessor
 
- 
- Parameters:
- field- the field to size
- Returns:
- the field size
 
isFixedLength
protected boolean isFixedLength()
- Description copied from class: FlatPreprocessor
- Returns whether the stream format is fixed length.
 
- 
- Overrides:
- isFixedLengthin class- FlatPreprocessor
 
- 
- Returns:
- true if fixed length, false otherwise
 
Copyright © 2010-2013 Kevin Seim