|
BeanIO 1.2.3 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.beanio.parser.NodeDefinition org.beanio.parser.RecordDefinition org.beanio.parser.flat.FlatRecordDefinition
public abstract class FlatRecordDefinition
Provides support for validating delimited and fixed length formatted records.
Constructor Summary | |
---|---|
FlatRecordDefinition()
|
Method Summary | |
---|---|
int |
getMaxLength()
Returns the maximum number of fields this record can have to be valid. |
int |
getMinLength()
Returns the minimum number of fields this record must have to be valid. |
void |
setMaxLength(int maxLength)
Sets the maximum number of fields this record can have. |
void |
setMinLength(int minLength)
Sets the minimum number of fields the record must have to be valid. |
Methods inherited from class org.beanio.parser.RecordDefinition |
---|
findDefinitionFor, formatBean, getBeanDefinition, getChildren, isRecordDefinition, matches, parseBean, setBeanDefinition, toString, validateRecord |
Methods inherited from class org.beanio.parser.NodeDefinition |
---|
getMaxOccurs, getMinOccurs, getName, getOrder, setMaxOccurs, setMinOccurs, setName, setOrder |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FlatRecordDefinition()
Method Detail |
---|
public int getMinLength()
public void setMinLength(int minLength)
minLength
- the minimum number of fieldspublic int getMaxLength()
public void setMaxLength(int maxLength)
maxLength
- the number of fields
|
BeanIO 1.2.3 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |