chesspresso.pgn
Class PGN
java.lang.Object
|
+--chesspresso.pgn.PGN
- Direct Known Subclasses:
- PGNReader, PGNWriter
- public abstract class PGN
- extends java.lang.Object
General definitions for the PGN standard.
The pgn standard is available at ftp://chess.onenet.net.
- Version:
- $Revision: 1.1 $
- Author:
- Bernhard Seybold
Constructor Summary |
PGN()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TOK_QUOTE
public static final char TOK_QUOTE
- See Also:
- Constant Field Values
TOK_PERIOD
public static final char TOK_PERIOD
- See Also:
- Constant Field Values
TOK_ASTERISK
public static final char TOK_ASTERISK
- See Also:
- Constant Field Values
TOK_TAG_BEGIN
public static final char TOK_TAG_BEGIN
- See Also:
- Constant Field Values
TOK_TAG_END
public static final char TOK_TAG_END
- See Also:
- Constant Field Values
TOK_LINE_BEGIN
public static final char TOK_LINE_BEGIN
- See Also:
- Constant Field Values
TOK_LINE_END
public static final char TOK_LINE_END
- See Also:
- Constant Field Values
TOK_LBRACKET
public static final char TOK_LBRACKET
- See Also:
- Constant Field Values
TOK_RBRACKET
public static final char TOK_RBRACKET
- See Also:
- Constant Field Values
TOK_NAG_BEGIN
public static final char TOK_NAG_BEGIN
- See Also:
- Constant Field Values
TOK_LINE_COMMENT
public static final char TOK_LINE_COMMENT
- See Also:
- Constant Field Values
TOK_COMMENT_BEGIN
public static final char TOK_COMMENT_BEGIN
- See Also:
- Constant Field Values
TOK_COMMENT_END
public static final char TOK_COMMENT_END
- See Also:
- Constant Field Values
TOK_PGN_ESCAPE
public static final char TOK_PGN_ESCAPE
- See Also:
- Constant Field Values
TAG_EVENT
public static final java.lang.String TAG_EVENT
- See Also:
- Constant Field Values
TAG_SITE
public static final java.lang.String TAG_SITE
- See Also:
- Constant Field Values
TAG_DATE
public static final java.lang.String TAG_DATE
- See Also:
- Constant Field Values
TAG_ROUND
public static final java.lang.String TAG_ROUND
- See Also:
- Constant Field Values
TAG_WHITE
public static final java.lang.String TAG_WHITE
- See Also:
- Constant Field Values
TAG_BLACK
public static final java.lang.String TAG_BLACK
- See Also:
- Constant Field Values
TAG_RESULT
public static final java.lang.String TAG_RESULT
- See Also:
- Constant Field Values
TAG_EVENT_DATE
public static final java.lang.String TAG_EVENT_DATE
- See Also:
- Constant Field Values
TAG_WHITE_ELO
public static final java.lang.String TAG_WHITE_ELO
- See Also:
- Constant Field Values
TAG_BLACK_ELO
public static final java.lang.String TAG_BLACK_ELO
- See Also:
- Constant Field Values
TAG_ECO
public static final java.lang.String TAG_ECO
- See Also:
- Constant Field Values
TAG_FEN
public static final java.lang.String TAG_FEN
- See Also:
- Constant Field Values
PGN
public PGN()
getYearOfPGNDate
public static int getYearOfPGNDate(java.lang.String pgnDate)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
dateToPGNDate
public static java.lang.String dateToPGNDate(java.util.Date date)