phenote.dataadapter.delimited
Class DelimitedChar
java.lang.Object
phenote.dataadapter.delimited.DelimitedChar
public class DelimitedChar
- extends java.lang.Object
I stole this from phenosyntaxchar, but modifying for tab delimited. will
initially hard code in the tab-delimiter, but eventually it should be generic to
handle any delimiter.
A phenotype character thats basically a dataadapter object for datamodel CharacterI.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DelimitedChar
DelimitedChar()
DelimitedChar
DelimitedChar(CharacterI ch)
getDelimitedString
java.lang.String getDelimitedString()
throws DelimitedChar.BadCharException
- Throws:
DelimitedChar.BadCharException
getDelimitedHeaderString
java.lang.String getDelimitedHeaderString()
throws DelimitedChar.BadCharException
- Throws:
DelimitedChar.BadCharException
setHeader
void setHeader(java.lang.String headerLine)
throws DelimitedEx
- make DelimFieldParsers from headerLine, throw exception
if line fails to be a header
- Throws:
DelimitedEx
parseLine
void parseLine(java.lang.String line)
throws DelimitedEx
- Throws:
DelimitedEx
getCharacter
CharacterI getCharacter()