phenote.dataadapter.delimited
Class DelimitedChar

java.lang.Object
  extended by 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.


Nested Class Summary
(package private)  class DelimitedChar.BadCharException
           
(package private)  class DelimitedChar.SyntaxParseException
           
 
Constructor Summary
DelimitedChar()
           
DelimitedChar(CharacterI ch)
           
 
Method Summary
(package private)  CharacterI getCharacter()
           
(package private)  java.lang.String getDelimitedHeaderString()
           
(package private)  java.lang.String getDelimitedString()
           
(package private)  void parseLine(java.lang.String line)
           
(package private)  void setHeader(java.lang.String headerLine)
          make DelimFieldParsers from headerLine, throw exception if line fails to be a header
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DelimitedChar

DelimitedChar()

DelimitedChar

DelimitedChar(CharacterI ch)
Method Detail

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()