Module org.example

Class PGNFormatter

java.lang.Object
cz.cvut.fel.pjv.PGN.PGNFormatter

public class PGNFormatter
extends java.lang.Object
Export PGN format.
  • Field Summary

    Fields
    Modifier and Type Field Description
    static java.lang.String DATEFORMAT_PGN  
    static java.lang.String PATTERN_COMMENTS  
    static java.lang.String PATTERN_HEADER  
    static java.lang.String PATTERN_PGN  
    static java.lang.String PGN_CASTLE_K  
    static java.lang.String PGN_CASTLE_Q  
  • Constructor Summary

    Constructors
    Constructor Description
    PGNFormatter()  
  • Method Summary

    Modifier and Type Method Description
    static void updatePgnHeader()
    Method to update PGN header string.
    static void updatePgnMoves()
    Method to update PGN moves string.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • PGNFormatter

      public PGNFormatter()
  • Method Details

    • updatePgnHeader

      public static void updatePgnHeader()
      Method to update PGN header string.
    • updatePgnMoves

      public static void updatePgnMoves()
      Method to update PGN moves string.