dip.judge.parser
Class TurnParser.Turn

java.lang.Object
  extended bydip.judge.parser.TurnParser.Turn
Enclosing class:
TurnParser

public static class TurnParser.Turn
extends java.lang.Object

A Turn object is created for each Turn detected in the History file.


Constructor Summary
TurnParser.Turn()
           
 
Method Summary
 java.lang.String getDateLine()
          Returns the unparsed Date: line
 Phase getPhase()
          Returns the PhaseType, or null if it cannot be detected.
 java.lang.String getSubjectLine()
          Returns the unparsed Subject: line
 java.lang.String getText()
          Returns the text between Subject: upto (but not including) the next Date: line
 void setDateLine(java.lang.String value)
          Sets the unparsed Date: line
 void setPhase(Phase value)
          Sets the PhaseType
 void setSubjectLine(java.lang.String value)
          Sets the unparsed Subject: line
 void setText(java.lang.String value)
          Sets the text between Subject: and upto (but not including) the next Date: line
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TurnParser.Turn

public TurnParser.Turn()
Method Detail

setDateLine

public void setDateLine(java.lang.String value)
Sets the unparsed Date: line


setSubjectLine

public void setSubjectLine(java.lang.String value)
Sets the unparsed Subject: line


setPhase

public void setPhase(Phase value)
Sets the PhaseType


setText

public void setText(java.lang.String value)
Sets the text between Subject: and upto (but not including) the next Date: line


getDateLine

public java.lang.String getDateLine()
Returns the unparsed Date: line


getSubjectLine

public java.lang.String getSubjectLine()
Returns the unparsed Subject: line


getPhase

public Phase getPhase()
Returns the PhaseType, or null if it cannot be detected.


getText

public java.lang.String getText()
Returns the text between Subject: upto (but not including) the next Date: line



Copyright 2002-2004 Zachary DelProposto / jDip Development Team. All Rights Reserved.