chesspresso.game
Class GameHeaderModel
java.lang.Object
|
+--chesspresso.game.GameHeaderModel
- public class GameHeaderModel
- extends java.lang.Object
- Version:
- $Revision: 1.1 $
- Author:
- Bernhard Seybold
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MODE_SEVEN_TAG_ROASTER
public static final int MODE_SEVEN_TAG_ROASTER
- See Also:
- Constant Field Values
MODE_STANDARD_TAGS
public static final int MODE_STANDARD_TAGS
- See Also:
- Constant Field Values
MODE_ALL_TAGS
public static final int MODE_ALL_TAGS
- See Also:
- Constant Field Values
GameHeaderModel
public GameHeaderModel()
GameHeaderModel
public GameHeaderModel(java.io.DataInput in,
int mode)
throws java.io.IOException
getLong
public long getLong()
setLong
public void setLong(long l)
getTag
public java.lang.String getTag(java.lang.String tagName)
setTag
public void setTag(java.lang.String tagName,
java.lang.String tagValue)
getTags
public java.lang.String[] getTags()
getEvent
public java.lang.String getEvent()
getSite
public java.lang.String getSite()
getDate
public java.lang.String getDate()
getRound
public java.lang.String getRound()
getWhite
public java.lang.String getWhite()
getBlack
public java.lang.String getBlack()
getResultStr
public java.lang.String getResultStr()
getWhiteEloStr
public java.lang.String getWhiteEloStr()
getBlackEloStr
public java.lang.String getBlackEloStr()
getEventDate
public java.lang.String getEventDate()
getECO
public java.lang.String getECO()
getResult
public int getResult()
getWhiteElo
public int getWhiteElo()
getBlackElo
public int getBlackElo()
load
public void load(java.io.DataInput in,
int mode)
throws java.io.IOException
java.io.IOException
save
public void save(java.io.DataOutput out,
int mode)
throws java.io.IOException
java.io.IOException
isSimilar
public boolean isSimilar(GameHeaderModel headerModel)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object