|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--chesspresso.pgn.PGN | +--chesspresso.pgn.PGNWriter
A PGN writer is able to write a game (collection) in PGN syntax.
Field Summary |
Fields inherited from class chesspresso.pgn.PGN |
TAG_BLACK, TAG_BLACK_ELO, TAG_DATE, TAG_ECO, TAG_EVENT, TAG_EVENT_DATE, TAG_FEN, TAG_RESULT, TAG_ROUND, TAG_SITE, TAG_WHITE, TAG_WHITE_ELO, TOK_ASTERISK, TOK_COMMENT_BEGIN, TOK_COMMENT_END, TOK_LBRACKET, TOK_LINE_BEGIN, TOK_LINE_COMMENT, TOK_LINE_END, TOK_NAG_BEGIN, TOK_PERIOD, TOK_PGN_ESCAPE, TOK_QUOTE, TOK_RBRACKET, TOK_TAG_BEGIN, TOK_TAG_END |
Constructor Summary | |
PGNWriter(java.io.OutputStream out)
|
|
PGNWriter(java.io.PrintStream out)
|
Method Summary | |
void |
setCharactersPerLine(int chars)
|
void |
write(Game game)
|
void |
write(GameModelIterator iterator)
|
Methods inherited from class chesspresso.pgn.PGN |
dateToPGNDate, getYearOfPGNDate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PGNWriter(java.io.OutputStream out)
public PGNWriter(java.io.PrintStream out)
Method Detail |
public void setCharactersPerLine(int chars)
public void write(GameModelIterator iterator)
public void write(Game game)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |