thinkui.parser
Class CompoundColumnParser
java.lang.Object
thinkui.parser.CompoundColumnParser
- All Implemented Interfaces:
- ColumnParser
- public class CompoundColumnParser
- extends java.lang.Object
- implements ColumnParser
Implement a column parser for a compound column that consists of a sequence
of attribute values separated by a set of delimiters.
Constructor Summary |
CompoundColumnParser(java.lang.String delimiters,
java.lang.String[] attrNames)
CompoundColumnParser constructor. |
Method Summary |
void |
parse(DataObject dataObject,
java.lang.String column)
Parse the given column data and populate the appropriate attributes in
the given data object. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompoundColumnParser
public CompoundColumnParser(java.lang.String delimiters,
java.lang.String[] attrNames)
- CompoundColumnParser constructor.
parse
public final void parse(DataObject dataObject,
java.lang.String column)
throws java.lang.Exception
- Parse the given column data and populate the appropriate attributes in
the given data object.
- Specified by:
parse
in interface ColumnParser
- Throws:
java.lang.Exception
Copyright © 2007-2009. ThinkUI Software Inc. All rights reserved.